Need reviewer: CC_VER checks on compiler options
Dr Andrew John Hughes
ahughes at redhat.com
Thu Apr 21 21:53:40 UTC 2011
On 14:33 Thu 21 Apr , Kelly O'Hair wrote:
>
> This started out as an annoyance around the use of -Wno-clobber on Linux when the gcc might
> not support it. Turned into fixing several CC_VER checks in the makefiles:
>
> 7038711: Fix CC_VER checks for compiler options, fix use of -Wno-clobber
> http://cr.openjdk.java.net/~ohair/openjdk7/jdk7-build-ccver/webrev/
>
> -kto
>
Is there a reason for keeping this static linking at all?
-ifeq ("$(CC_VER_MAJOR)", "3")
-OTHER_LDFLAGS += -static-libgcc
+ifeq ($(CC_MAJORVER),3)
+ OTHER_LDFLAGS += -static-libgcc
--
Andrew :)
Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)
Support Free Java!
Contribute to GNU Classpath and IcedTea
http://www.gnu.org/software/classpath
http://icedtea.classpath.org
PGP Key: F5862A37 (https://keys.indymedia.org/)
Fingerprint = EA30 D855 D50F 90CD F54D 0698 0713 C3ED F586 2A37
More information about the build-dev
mailing list