diff options
Diffstat (limited to 'demos/Posix-GCC/Makefile')
-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
|