From ac199d947b03db7b69d6337139f99495212b5f71 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Thu, 13 Sep 2012 18:31:17 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4653 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- demos/Posix-GCC/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'demos') diff --git a/demos/Posix-GCC/Makefile b/demos/Posix-GCC/Makefile index 5e2b4d4f8..f5eae1c05 100644 --- a/demos/Posix-GCC/Makefile +++ b/demos/Posix-GCC/Makefile @@ -104,7 +104,7 @@ OBJS = $(ASRC:.s=.o) $(SRC:.c=.o) LIBS = $(DLIBS) $(ULIBS) ASFLAGS = -Wa,-amhls=$(<:.s=.lst) $(ADEFS) -CPFLAGS = $(OPT) -Wall -Wextra -Wstrict-prototypes -fverbose-asm $(DEFS) +CPFLAGS = $(OPT) -Wall -Wextra -Wstrict-prototypes -fverbose-asm $(DEFS) ifeq ($(HOST_OSX),yes) ifeq ($(OSX_SDK),) @@ -119,8 +119,8 @@ ifeq ($(HOST_OSX),yes) LIBS += $(OSX_ARCH) else # Linux, or other - CPFLAGS += -Wa,-alms=$(<:.c=.lst) - LDFLAGS += -Wl,-Map=$(PROJECT).map,--cref,--no-warn-mismatch $(LIBDIR) + CPFLAGS += -m32 -Wa,-alms=$(<:.c=.lst) + LDFLAGS = -m32 -Wl,-Map=$(PROJECT).map,--cref,--no-warn-mismatch $(LIBDIR) endif # Generate dependency information -- cgit v1.2.3