Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

build: fix build with -Wl,--as-needed

Newer distros link with -Wl,--as-needed by default. Change link order to
accommodate that.
  • Loading branch information...
commit 9165cf5b09a155f723c3dd63f653164b27e4e49b 1 parent 3d73121
@bnoordhuis authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 Makefile
View
4 Makefile
@@ -89,11 +89,11 @@ release: CFLAGS += $(RELEASE_CFLAGS)
release: $(EXEC)
$(EXEC): $(GAME_OBJS)
- $(CC) $(LDFLAGS) -o $@ $(GAME_OBJS)
+ $(CC) -o $@ $(GAME_OBJS) $(LDFLAGS)
strip $@
$(EXEC)_g: $(GAME_OBJS)
- $(CC) $(LDFLAGS) -o $@ $(GAME_OBJS)
+ $(CC) -o $@ $(GAME_OBJS) $(LDFLAGS)
#############################################################################
# MISC
Please sign in to comment.
Something went wrong with that request. Please try again.