[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#489234: *sigh*



X-Debbugs-CC: debian-68k@lists.debian.org

I should not send patches when I'm half alseep. Here's one that's actually appliable ;-)

--- gcc-4.3.1/gcc/config/m68k/linux-old.h    2008-07-04 04:02:21.000000000 -0400
+++ gcc-4.3.1/gcc/config/m68k/linux.h    2008-07-04 05:23:21.000000000 -0400
@@ -37,6 +37,13 @@
 #undef M68K_HONOR_TARGET_STRICT_ALIGNMENT
 #define M68K_HONOR_TARGET_STRICT_ALIGNMENT 0
 
+/* on m68k, we always need to use gnu89 inlining because we're
+   still limited to glibc 2.5. This should be removed after
+   a newer glibc is available */
+
+#undef CC1_SPEC
+#define CC1_SPEC "%{profile:-p} %{std=gnu99:-fgnu89-inline}"
+
 /* Here are four prefixes that are used by asm_fprintf to
    facilitate customization for alternate assembler syntaxes.
    Machines with no likelihood of an alternate syntax need not


Reply to: