forked from facebook/netconsd
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make the CI actually work (facebook#1)
Summary: Pull Request resolved: facebook#1 - add CI badge to the README - do not hardcode the compiler and the compiler flags - fix link flags Reviewed By: kernelslacker Differential Revision: D31489684 fbshipit-source-id: c0c983545bcb102d22e8d091126f526bca77c239
- Loading branch information
1 parent
8ad824b
commit cb8df2a
Showing
6 changed files
with
34 additions
and
15 deletions.
There are no files selected for viewing
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
CFLAGS = -D_GNU_SOURCE | ||
LDFLAGS = -lpthread | ||
CFLAGS ?= -O2 -fPIC | ||
CFLAGS += -D_GNU_SOURCE | ||
LDFLAGS ?= -shared | ||
LIBS = -lpthread | ||
|
||
all: netconsblaster | ||
|
||
netconsblaster: | ||
$(CC) $(LDFLAGS) $(CFLAGS) netconsblaster.c -o netconsblaster | ||
$(CC) $(LDFLAGS) $(CFLAGS) netconsblaster.c $(LIBS) -o netconsblaster |