]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/config/x-cflags-O1
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / config / x-cflags-O1
diff --git a/gcc/config/x-cflags-O1 b/gcc/config/x-cflags-O1
new file mode 100644 (file)
index 0000000..9ba1e74
--- /dev/null
@@ -0,0 +1,5 @@
+# At -O0 cc1 etc. are too large on some targets for successful
+# link; force building libbackend.a with -O1.
+ifeq ($(filter-out -O0,$(lastword $(filter -O%,$(CFLAGS)))),)
+$(OBJS) : override CFLAGS += -O1
+endif