]> git.sur5r.net Git - cc65/blobdiff - src/cl65/make/gcc.mak
Patch to correct the linkorder in the make files to make the --as-needed
[cc65] / src / cl65 / make / gcc.mak
index 2b0dda733cdfe13f6e6109e75b43cc5a1bcd7358..970031c46ffae45a8a27afee575b5ab2310a2fa0 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: