Created
January 17, 2012 18:37
-
-
Save mh61503891/1628031 to your computer and use it in GitHub Desktop.
DummynetをDebian6でビルドできるようにするためのパッチ
This file contains 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
--- ipfw3/dummynet2/Makefile.orig 2012-01-18 02:51:29.000000000 +0900 | |
+++ ipfw3/dummynet2/Makefile 2012-01-18 02:51:42.000000000 +0900 | |
@@ -55,8 +55,8 @@ | |
ipfw-cflags += -D_BSD_SOURCE | |
ipfw-cflags += -DKERNEL_MODULE # build linux kernel module | |
# the two header trees for empty and override files | |
-ipfw-cflags += -I $(M)/include_e | |
-ipfw-cflags += -I $(M)/include | |
+ipfw-cflags += -I$(M)/include_e | |
+ipfw-cflags += -I$(M)/include | |
ipfw-cflags += -include $(M)/../glue.h # headers | |
ipfw-cflags += -include $(M)/missing.h # headers | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-Iはヘッダファイルを検索するディレクトリを指定するgccのオプション。
-Iとディレクトリパスの間にある空白スペースと取るとビルドできたが理由は良くわからない。