diff options
author | rillig <rillig@pkgsrc.org> | 2007-08-25 09:33:57 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2007-08-25 09:33:57 +0000 |
commit | 1e9fb5689a437203324317d8d6895f60e4fe283f (patch) | |
tree | f87245961be71235c9011949c363f7689e71260b | |
parent | 2049cf5ce78983fd79d7e92b182b4c7bfbbd6c3c (diff) | |
download | pkgsrc-1e9fb5689a437203324317d8d6895f60e4fe283f.tar.gz |
Only gcc understands those -W* flags for warnings.
-rw-r--r-- | pkgtools/bootstrap-mk-files/files/mods/bsd.own.mk.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgtools/bootstrap-mk-files/files/mods/bsd.own.mk.in b/pkgtools/bootstrap-mk-files/files/mods/bsd.own.mk.in index 6efb36be106..bc5ba38fe30 100644 --- a/pkgtools/bootstrap-mk-files/files/mods/bsd.own.mk.in +++ b/pkgtools/bootstrap-mk-files/files/mods/bsd.own.mk.in @@ -1,4 +1,4 @@ -# $NetBSD: bsd.own.mk.in,v 1.1.1.1 2006/07/14 23:13:01 jlam Exp $ +# $NetBSD: bsd.own.mk.in,v 1.2 2007/08/25 09:33:57 rillig Exp $ .if !defined(_BSD_OWN_MK_) _BSD_OWN_MK_=1 @@ -129,9 +129,11 @@ OBJECT_FMT?=ELF OBJECT_FMT?=a.out .endif +.if ${CC:M*gcc*} != "" .if ${MACHINE_ARCH} == "x86_64" CFLAGS+=-Wno-format -fno-builtin .endif +.endif # Location of the file that contains the major and minor numbers of the # version of a shared library. If this file exists a shared library |