Commit 2d32a8a5 authored by Robert Ricci's avatar Robert Ricci

Add a _NOWARN version of CLFAGS for the benefit of the SWIG-generated

code, which produces a lot of warnings.
parent 192df99b
......@@ -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 \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment