Created
March 13, 2013 10:08
-
-
Save holysugar/5150766 to your computer and use it in GitHub Desktop.
stone コンパイル用 patch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/Makefile.orig b/Makefile | |
| index 460b774..9c21b9e 100644 | |
| --- a/Makefile.orig | |
| +++ b/Makefile | |
| @@ -97,7 +97,7 @@ svc_stone: logmsg.rc $(SVC_LIBS) | |
| $(MAKE) FLAGS="-DNT_SERVICE $(FLAGS)" LIBS="$(LIBS) $(SVC_LIBS) -ladvapi32 -luser32 -lshell32 -lkernel32" $(TARGET) | |
| linux: | |
| - $(MAKE) FLAGS="-O -Wall -DCPP='\"/usr/bin/cpp -traditional\"' -DPTHREAD -DUNIX_DAEMON -DPRCTL -DSO_ORIGINAL_DST=80 -DUSE_EPOLL $(FLAGS)" LIBS="-lpthread $(LIBS)" stone | |
| + $(MAKE) FLAGS="-O -Wall -DCPP='\"/usr/bin/cpp -traditional\"' -DPTHREAD -DUNIX_DAEMON -DPRCTL -DSO_ORIGINAL_DST=80 -DUSE_EPOLL -D_GNU_SOURCE $(FLAGS)" LIBS="-lpthread $(LIBS)" stone | |
| linux-pop: | |
| $(MAKE) TARGET=linux pop_stone |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment