Need reviewer: CC_VER checks on compiler options

Dr Andrew John Hughes ahughes at
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
> -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. (

Support Free Java!
Contribute to GNU Classpath and IcedTea
PGP Key: F5862A37 (
Fingerprint = EA30 D855 D50F 90CD F54D  0698 0713 C3ED F586 2A37

More information about the build-dev mailing list