From 2b5efdfbe75debc5e5a3d32bfeb3ddc9cf4d6893 Mon Sep 17 00:00:00 2001 From: Michael LeMay Date: Thu, 2 Jul 2015 19:21:26 -0700 Subject: [PATCH] galileo: Revise C compiler flags for consistency. The CFLAGS setting used for the newlib build process includes "-mtune=i586" as does the ASFLAGS setting used for the Contiki build process. However, the CFLAGS setting used for the Contiki build process did not include that flag. This patch adds it for consistency. --- platform/galileo/Makefile.galileo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/galileo/Makefile.galileo b/platform/galileo/Makefile.galileo index 05a2b7280..3fbe88e8f 100644 --- a/platform/galileo/Makefile.galileo +++ b/platform/galileo/Makefile.galileo @@ -8,7 +8,7 @@ CONTIKI_SOURCEFILES += contiki-main.c newlib-syscalls.c clock.c rtimer-arch.c CONTIKI_CPU=$(CONTIKI)/cpu/x86 include $(CONTIKI)/cpu/x86/Makefile.x86_quarkX1000 -CFLAGS += -m32 -march=i586 -fno-stack-protector -nostdinc -isystem $(LIBC)/include -isystem $(LIBGCC_PATH)/include -isystem $(LIBGCC_PATH)/include-fixed +CFLAGS += -m32 -march=i586 -mtune=i586 -fno-stack-protector -nostdinc -isystem $(LIBC)/include -isystem $(LIBGCC_PATH)/include -isystem $(LIBGCC_PATH)/include-fixed LDFLAGS += -m32 -nostdlib -T $(LINKERSCRIPT) ASFLAGS += --32 -march=i586 -mtune=i586