[Bug 6008] New: Patch: Clang does not honor -dN
bugzilla at busybox.net
bugzilla at busybox.net
Thu Feb 28 03:49:54 UTC 2013
https://bugs.busybox.net/show_bug.cgi?id=6008
Summary: Patch: Clang does not honor -dN
Product: uClibc
Version: 0.9.33.3
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
AssignedTo: unassigned at uclibc.org
ReportedBy: noloader at gmail.com
CC: uclibc-cvs at uclibc.org
Estimated Hours: 0.0
$ diff -uN extra/scripts/gen_bits_syscall_h-orig.sh
extra/scripts/gen_bits_syscall_h.sh
--- extra/scripts/gen_bits_syscall_h-orig.sh 2013-02-27 22:43:03.053750592
-0500
+++ extra/scripts/gen_bits_syscall_h.sh 2013-02-27 22:39:38.160734579 -0500
@@ -18,6 +18,7 @@
INCLUDE_OPTS="-nostdinc -I${KERNEL_HEADERS}"
case $CC in
+*clang*) CC_SYSNUM_ARGS="-dM" ;;
*icc*) CC_SYSNUM_ARGS="-dM" ;;
*) CC_SYSNUM_ARGS="-dN" ;;
esac
Also, 'icc' is Intel's C compiler. To pick up the Intel C++ compiler, the
project might want to add a case for 'icpc'.
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the uClibc-cvs
mailing list