mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-25 15:31:05 +00:00
20 lines
692 B
Diff
20 lines
692 B
Diff
|
diff -urN uClibc-0.9.33.2~orig/Rules.mak uClibc-0.9.33.2/Rules.mak
|
||
|
--- uClibc-0.9.33.2~orig/Rules.mak 2012-05-15 09:20:09.000000000 +0200
|
||
|
+++ uClibc-0.9.33.2/Rules.mak 2012-09-24 14:09:51.092953729 +0200
|
||
|
@@ -226,6 +226,7 @@
|
||
|
|
||
|
OPTIMIZATION:=
|
||
|
# Use '-Os' optimization if available, else use -O2, allow Config to override
|
||
|
+ifneq ($(TARGET_ARCH),m68k)
|
||
|
$(eval $(call check-gcc-var,-Os))
|
||
|
ifneq ($(CFLAG_-Os),)
|
||
|
OPTIMIZATION += $(CFLAG_-Os)
|
||
|
@@ -233,6 +234,7 @@
|
||
|
$(eval $(call check-gcc-var,-O2))
|
||
|
OPTIMIZATION += $(CFLAG_-O2)
|
||
|
endif
|
||
|
+endif
|
||
|
# Use the gcc 3.4 -funit-at-a-time optimization when available
|
||
|
$(eval $(call check-gcc-var,-funit-at-a-time))
|
||
|
OPTIMIZATION += $(CFLAG_-funit-at-a-time)
|