pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/mk/compiler
Module Name: pkgsrc
Committed By: gdt
Date: Tue Dec 12 16:41:49 UTC 2023
Modified Files:
pkgsrc/mk/compiler: pcc.mk
Log Message:
pcc.mk: Adapt c99 flags
Change the commented-out flag setting from testing USE_LANGUAGES,
which won't work with new-style FORCE_C_STD, to setting
_C_STD_FLAG.c99, which compiler.mk will add via wrappers.
This is a comment-only change; the new code awaits testing much as the
old code did.
To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 pkgsrc/mk/compiler/pcc.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/mk/compiler/pcc.mk
diff -u pkgsrc/mk/compiler/pcc.mk:1.9 pkgsrc/mk/compiler/pcc.mk:1.10
--- pkgsrc/mk/compiler/pcc.mk:1.9 Tue Jun 27 10:27:21 2023
+++ pkgsrc/mk/compiler/pcc.mk Tue Dec 12 16:41:49 2023
@@ -1,4 +1,4 @@
-# $NetBSD: pcc.mk,v 1.9 2023/06/27 10:27:21 riastradh Exp $
+# $NetBSD: pcc.mk,v 1.10 2023/12/12 16:41:49 gdt Exp $
#
# This is the compiler definition for the PCC compiler.
#
@@ -50,10 +50,9 @@ PKG_${t}:= ${PCCBASE}/bin/${n}
. endfor
.endfor
-# Turn on C99 support if required
-#.if !empty(USE_LANGUAGES:Mc99)
-#_WRAP_EXTRA_ARGS.CC+= -xc99
-#.endif
+# Export flags to turn on c99 mode to the generic processing code in ../compiler.mk.
+# TODO: enable and test
+# _C_STD_FLAG.c99= -xc99
_LINKER_RPATH_FLAG= -R
Home |
Main Index |
Thread Index |
Old Index