| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.2 2017/04/13 13:08:34 bouyer Exp $ | | 1 | # $NetBSD: Makefile,v 1.3 2017/06/22 16:09:53 joerg Exp $ |
2 | # | | 2 | # |
3 | VERSION= 4.8.0 | | 3 | VERSION= 4.8.0 |
4 | VERSION_IPXE= 827dd1bfee67daa683935ce65316f7e0f057fe1c | | 4 | VERSION_IPXE= 827dd1bfee67daa683935ce65316f7e0f057fe1c |
5 | DIST_IPXE= ipxe-git-${VERSION_IPXE}.tar.gz | | 5 | DIST_IPXE= ipxe-git-${VERSION_IPXE}.tar.gz |
6 | DIST_NEWLIB= newlib-1.16.0.tar.gz | | 6 | DIST_NEWLIB= newlib-1.16.0.tar.gz |
7 | DIST_LWIP= lwip-1.3.0.tar.gz | | 7 | DIST_LWIP= lwip-1.3.0.tar.gz |
8 | DIST_GRUB= grub-0.97.tar.gz | | 8 | DIST_GRUB= grub-0.97.tar.gz |
9 | DIST_GMP= gmp-4.3.2.tar.bz2 | | 9 | DIST_GMP= gmp-4.3.2.tar.bz2 |
10 | DIST_OCAML= ocaml-3.11.0.tar.gz | | 10 | DIST_OCAML= ocaml-3.11.0.tar.gz |
11 | DIST_POLARSSL= polarssl-1.1.4-gpl.tgz | | 11 | DIST_POLARSSL= polarssl-1.1.4-gpl.tgz |
12 | DIST_TPMEMU= tpm_emulator-0.7.4.tar.gz | | 12 | DIST_TPMEMU= tpm_emulator-0.7.4.tar.gz |
13 | DIST_ZLIB= zlib-1.2.3.tar.gz | | 13 | DIST_ZLIB= zlib-1.2.3.tar.gz |
14 | DIST_LIBPCI= pciutils-2.2.9.tar.bz2 | | 14 | DIST_LIBPCI= pciutils-2.2.9.tar.bz2 |
| @@ -271,27 +271,28 @@ CPPFLAGS+= -Dshm_open=open -Dshm_unlink= | | | @@ -271,27 +271,28 @@ CPPFLAGS+= -Dshm_open=open -Dshm_unlink= |
271 | .endif | | 271 | .endif |
272 | | | 272 | |
273 | .include "../../mk/compiler.mk" | | 273 | .include "../../mk/compiler.mk" |
274 | .if !empty(PKGSRC_COMPILER:Mclang) | | 274 | .if !empty(PKGSRC_COMPILER:Mclang) |
275 | EXTRA_HOSTCFLAGS+= -Wno-error=ignored-attributes | | 275 | EXTRA_HOSTCFLAGS+= -Wno-error=ignored-attributes |
276 | EXTRA_CFLAGS+= -Wno-error=ignored-attributes -no-integrated-as \ | | 276 | EXTRA_CFLAGS+= -Wno-error=ignored-attributes -no-integrated-as \ |
277 | -Wno-error=tautological-compare -Wno-error=null-dereference \ | | 277 | -Wno-error=tautological-compare -Wno-error=null-dereference \ |
278 | -Wno-error=empty-body -Wno-error=self-assign \ | | 278 | -Wno-error=empty-body -Wno-error=self-assign \ |
279 | -Wno-error=sometimes-uninitialized \ | | 279 | -Wno-error=sometimes-uninitialized \ |
280 | -Wno-error=unused-function -Wno-error=format \ | | 280 | -Wno-error=unused-function -Wno-error=format \ |
281 | -Wno-error=unused-const-variable \ | | 281 | -Wno-error=unused-const-variable \ |
282 | -Wno-error=gnu-designator -Wno-error=uninitialized \ | | 282 | -Wno-error=gnu-designator -Wno-error=uninitialized \ |
283 | -Wno-error=parentheses-equality \ | | 283 | -Wno-error=parentheses-equality \ |
284 | -Wno-error=enum-conversion | | 284 | -Wno-error=enum-conversion \ |
| | | 285 | -Wno-error=address-of-packed-member |
285 | BUILDLINK_TRANSFORM+= rm:-falign-jumps=1 rm:-falign-loops=1 \ | | 286 | BUILDLINK_TRANSFORM+= rm:-falign-jumps=1 rm:-falign-loops=1 \ |
286 | rm:-mpreferred-stack-boundary=2 | | 287 | rm:-mpreferred-stack-boundary=2 |
287 | .endif | | 288 | .endif |
288 | | | 289 | |
289 | MAKE_ENV+= EXTRA_HOSTCFLAGS=${EXTRA_HOSTCFLAGS:Q} EXTRA_CFLAGS=${EXTRA_CFLAGS:M*:Q} TARGET_CC=${TARGET_CC} | | 290 | MAKE_ENV+= EXTRA_HOSTCFLAGS=${EXTRA_HOSTCFLAGS:Q} EXTRA_CFLAGS=${EXTRA_CFLAGS:M*:Q} TARGET_CC=${TARGET_CC} |
290 | | | 291 | |
291 | .include "../../lang/python/application.mk" | | 292 | .include "../../lang/python/application.mk" |
292 | .include "../../lang/python/extension.mk" | | 293 | .include "../../lang/python/extension.mk" |
293 | #.include "../../devel/SDL/buildlink3.mk" | | 294 | #.include "../../devel/SDL/buildlink3.mk" |
294 | .include "../../lang/ocaml/buildlink3.mk" | | 295 | .include "../../lang/ocaml/buildlink3.mk" |
295 | .include "../../devel/ocaml-findlib/buildlink3.mk" | | 296 | .include "../../devel/ocaml-findlib/buildlink3.mk" |
296 | .include "../../sysutils/pciutils/buildlink3.mk" | | 297 | .include "../../sysutils/pciutils/buildlink3.mk" |
297 | .include "../../devel/glib2/buildlink3.mk" | | 298 | .include "../../devel/glib2/buildlink3.mk" |