diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-09-13 18:31:17 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-09-13 18:31:17 +0000 |
commit | ac199d947b03db7b69d6337139f99495212b5f71 (patch) | |
tree | 06e11cc208e4c5ed13f3fc5b5ff5c1cbd8a9f7ff /demos | |
parent | fd5dd5f3b688b57678b431af4d825ad20afb6f32 (diff) | |
download | ChibiOS-ac199d947b03db7b69d6337139f99495212b5f71.tar.gz ChibiOS-ac199d947b03db7b69d6337139f99495212b5f71.tar.bz2 ChibiOS-ac199d947b03db7b69d6337139f99495212b5f71.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4653 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos')
-rw-r--r-- | demos/Posix-GCC/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
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
|