]> git.sur5r.net Git - cc65/blobdiff - src/ar65/make/gcc.mak
Patch to correct the linkorder in the make files to make the --as-needed
[cc65] / src / ar65 / make / gcc.mak
index fe1ec6c732c5ba5391a08349e5d46e96bac55bea..bf12c73ff370b03a3f344735435167a2753d3940 100644 (file)
@@ -51,7 +51,7 @@ all:  depend
 endif
 
 $(EXE):        $(OBJS) $(LIBS)
-       $(CC) $^ $(LDFLAGS) -o $@
+       $(CC) $(LDFLAGS) $^ -o $@
        @if [ $(OS2_SHELL) ] ;  then $(EBIND) $(EXE) ; fi
 
 clean: