CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
Removed -mno-unaligned-access from dialog build
authorVictor Martinez <pitillo@ono.com>
Wed, 14 Aug 2013 10:59:26 +0000 (12:59 +0200)
committerVictor Martinez <pitillo@ono.com>
Wed, 14 Aug 2013 10:59:26 +0000 (12:59 +0200)
Makefile

index a1bb6fe43d2bc2fa636d025d42756cd2d8f43f4c..14d439c174b2428f8d7d359cc72977c8f2888c66 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -75,7 +75,7 @@ $(WORK)/dialog-$(DIALOG_VERSION)/_install/usr/bin/dialog: $(WORK)/dialog-$(DIALO
                ./configure --build=$(BUILD) --host=$(TARGET) --prefix=/usr --with-ncursesw && \
                find -type f -name 'makefile' \
                -exec sed -e "s|-I/usr|-I$(CLFS)/usr|g" -e "s|-L/usr|-L$(CLFS)/usr|g" -i {} \; && \
-               make CC="$(TARGET)-gcc -static -mno-unaligned-access" && \
+               make CC="$(TARGET)-gcc -static" && \
                make DESTDIR=$(WORK)/dialog-$(DIALOG_VERSION)/_install install && \
                $(TARGET)-strip $(WORK)/dialog-$(DIALOG_VERSION)/_install/usr/bin/dialog && \
                touch $(WORK)/dialog-$(DIALOG_VERSION)/_install/usr/bin/dialog