فهرست منبع

* add some compile flags

SVN-Revision: 26025
John Crispin 15 سال پیش
والد
کامیت
762ac8856a
1فایلهای تغییر یافته به همراه4 افزوده شده و 2 حذف شده
  1. 4 2
      package/uboot-lantiq/patches/010-fix-mips-flags.patch

+ 4 - 2
package/uboot-lantiq/patches/010-fix-mips-flags.patch

@@ -1,6 +1,6 @@
 --- a/cpu/mips/config.mk
 +++ b/cpu/mips/config.mk
-@@ -23,16 +23,18 @@
+@@ -23,17 +23,19 @@
  v=$(shell $(AS) --version | grep 'GNU assembler' | egrep -o '2\.[0-9\.]+' | cut -d. -f2)
  MIPSFLAGS:=$(shell \
  if [ "$v" -lt "14" ]; then \
@@ -19,5 +19,7 @@
  endif
 +endif
  
- MIPSFLAGS += $(ENDIANNESS)
+-MIPSFLAGS += $(ENDIANNESS)
++MIPSFLAGS += $(ENDIANNESS) -fno-schedule-insns -fno-schedule-insns2
  
+ PLATFORM_CPPFLAGS += $(MIPSFLAGS)