aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Makefile b/src/Makefile
index 86a472d..0e03580 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -61,7 +61,7 @@ all: $(OBJECTS)
endif
$(OBJECTS): %.$(EXT) : %.o
- $(LD) $(LFLAGS) -o $@ $*.o $(LIBS)
+ $(LD) $(LFLAGS) $(ARCH_FLAG) -o $@ $*.o $(LIBS)
$(STRIP) $(STRIPFLAGS) $@
$(LIBNAME): $(TARGETS) z_zexy.c z_zexy.h
@@ -69,7 +69,7 @@ $(LIBNAME): $(TARGETS) z_zexy.c z_zexy.h
$(STRIP) $(STRIPFLAGS) $@.$(EXT)
$(TARGETS): %.o : %.c
- $(CC) $(Z_CFLAGS) -c -o $@ $*.c
+ $(CC) $(Z_CFLAGS) $(ARCH_FLAG) -c -o $@ $*.c
externals: $(OBJECTS)