]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
make STRIP a specifyable option in the Makefile
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 31 Oct 2007 08:11:27 +0000 (08:11 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 31 Oct 2007 08:11:27 +0000 (08:11 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7657 d7cf8633-e32d-0410-b094-e92efae38249

makefile.inc

index 2d19f8239b74f50f82230bf3722537803bccae00..fa801cf685fe9690bc0f0f23913f762f92cdbb7d 100644 (file)
@@ -17,6 +17,7 @@ CC=gcc
 CPUOPTIMIZATIONS=
 
 SDL_CONFIG?=sdl-config
+STRIP?=strip
 
 
 ###### Sound and audio CD #####
@@ -387,7 +388,7 @@ bin-release :
                DP_MAKE_TARGET=$(DP_MAKE_TARGET) DP_SOUND_API=$(DP_SOUND_API) \
                CFLAGS="$(CFLAGS_COMMON) $(CFLAGS_EXTRA) $(CFLAGS_RELEASE) $(OPTIM_RELEASE)"\
                LDFLAGS="$(LDFLAGS_RELEASE) $(LDFLAGS_COMMON)"
-       strip $(EXE)
+       $(STRIP) $(EXE)
 
 vid_glx.o: vid_glx.c
        $(DO_CC) -I/usr/X11R6/include