]> git.sur5r.net Git - cc65/blobdiff - src/co65/make/gcc.mak
Patch to correct the linkorder in the make files to make the --as-needed
[cc65] / src / co65 / make / gcc.mak
index 6deb4f81dc3dcafeaad7b5de19325cdd37b6de73..24310d702027066bd092cb85f77c80a333c66f3c 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: