summaryrefslogtreecommitdiffstats
path: root/Gui/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Gui/Makefile')
-rw-r--r--Gui/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Gui/Makefile b/Gui/Makefile
index 7ea129a4e7..eead879efa 100644
--- a/Gui/Makefile
+++ b/Gui/Makefile
@@ -12,6 +12,9 @@ INCDIR = -I. -I./event -I./wm -I./skin $(GTKINC)
OPTIMIZE = $(OPTFLAGS) -fomit-frame-pointer \
-fexpensive-optimizations -fschedule-insns2 -Wall
+ifeq ($(TARGET_ARCH_X86),yes)
+OPTIMIZE += -malign-double
+endif
CFLAGS = $(OPTIMIZE) $(INCDIR) $(DEBUG)