Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
2d32a8a5
Commit
2d32a8a5
authored
Oct 27, 2003
by
Robert Ricci
Browse files
Add a _NOWARN version of CLFAGS for the benefit of the SWIG-generated
code, which produces a lot of warnings.
parent
192df99b
Changes
1
Hide whitespace changes
Inline
Side-by-side
event/lib/GNUmakefile.in
View file @
2d32a8a5
...
...
@@ -24,6 +24,9 @@ include $(TESTBED_SRCDIR)/GNUmakerules
#CFLAGS += -DDEBUG
CFLAGS += -O -g -static -I. -Wall -I$(TESTBED_SRCDIR)/lib/libtb
CFLAGS += `elvin-config --cflags vin4mt`
# Special CFLAGS w/o warnings, for SWIG-generated code
CFLAGS_NOWARN += -O -g -static -I. -I$(TESTBED_SRCDIR)/lib/libtb
CFLAGS_NOWARN += `elvin-config --cflags vin4mt`
LDFLAGS += -L${OBJDIR}/lib/libtb
...
...
@@ -52,7 +55,7 @@ event_r.o: event.c
# cat $(SRCDIR)/event.pm.tail >> event.pm
event_wrap.o: $(SRCDIR)/event_wrap.c
$(CC) -c $(CFLAGS) -I/usr/libdata/perl/5.00503/mach/CORE $<
$(CC) -c $(CFLAGS
_NOWARN
) -I/usr/libdata/perl/5.00503/mach/CORE $<
event.so: event.o event_wrap.o util.o
ld -shared $^ $(OBJDIR)/lib/libtb/libtb.a \
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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