changeset 7549:05c84f4cec3e

Work around problem with gcc 4.8.x
author Edward Nevill edward.nevill@linaro.org
date Wed, 17 Sep 2014 12:53:20 +0100
parents a6df78e590bb
children 2fb893b1a255
files make/linux/makefiles/gcc.make
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/make/linux/makefiles/gcc.make	Wed Sep 10 10:42:58 2014 -0400
+++ b/make/linux/makefiles/gcc.make	Wed Sep 17 12:53:20 2014 +0100
@@ -267,6 +267,12 @@
   ifeq ($(shell expr $(CC_VER_MAJOR) = 4 \& $(CC_VER_MINOR) = 3), 1)
     OPT_CFLAGS/mulnode.o += $(OPT_CFLAGS/NOOPT)
   endif
+  # Work around problem with 4.8 series building ciEnv on aarch64
+  ifeq ($(BUILDARCH), aarch64)
+    ifeq ($(shell expr $(CC_VER_MAJOR) = 4 \& $(CC_VER_MINOR) = 8), 1)
+      OPT_CFLAGS/ciEnv.o += $(OPT_CFLAGS/NOOPT)
+    endif
+  endif
 endif
 
 # Flags for generating make dependency flags.