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