Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
tsn-measures
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
tsn-measures
Commits
0ad53dee
Commit
0ad53dee
authored
Jun 19, 2020
by
Joanne Hugé
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change link flags order to fix linking error
parent
61296eff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
packet-exchange/build/Makefile
packet-exchange/build/Makefile
+5
-4
No files found.
packet-exchange/build/Makefile
View file @
0ad53dee
...
...
@@ -25,20 +25,21 @@ CFLAGS += -MD -MP
CFLAGS
+=
-I
$(SRCDIR)
CFLAGS
+=
-std
=
gnu99
L
DFLAG
S
=
-pthread
L
LIB
S
=
-pthread
ifneq
($(WITH_XDP),)
CFLAGS
+=
-D
WITH_XDP
-I
${HOME}
/libbpf/include
LDFLAGS
+=
-L
${HOME}
/libbpf/src
-l
:libbpf.a
LDIRS
+=
-L
${HOME}
/libbpf/src
LLIBS
+=
-l
:libbpf.a
endif
vpath
%.c
$(SRCDIR)
$(SERVER_PROG)
:
$(SERVER_OBJS)
$(CC)
$(LDFLAGS)
$
^
-o
$@
$(CC)
$(LDFLAGS)
$
(LDIRS)
$^
$(LLIBS)
-o
$@
$(CLIENT_PROG)
:
$(CLIENT_OBJS)
$(CC)
$(LDFLAGS)
$
^
-o
$@
$(CC)
$(LDFLAGS)
$
(LDIRS)
$^
$(LLIBS)
-o
$@
-include
$(subst .c,.d,$(SERVER_SRCS))
-include
$(subst .c,.d,$(CLIENT_SRCS))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment