chiark / gitweb /
stest/udp-preload.c: Fix error handling of sun_prep
[secnet.git] / stest / Subdir.sd.mk
index 222e82c86736fade302c6e03219f8b65f3351664..c3b5cc9c36c6c9e10d98eae05f3b033c25c22ad5 100644 (file)
@@ -2,7 +2,7 @@
 &TARGETS += & udp-preload.so
 
 &DEPS += & udp-preload.so
-&DEPS += &^/common.tcl
+&DEPS += &^ common.tcl
 &DEPS += secnet
 &DEPS += test-example/sites.conf
 &DEPS += test-example/inside.key
@@ -12,7 +12,7 @@
 
 &OBJECTS += & udp-preload.o
 
-$(&OBJECTS) : ALL_CFLAGS += -D_REENTRANT -fPIC
+$(&OBJECTS) : ALL_CFLAGS += -D_REENTRANT -fPIC -Wno-unused-result
 
 &udp-preload.so: $(&OBJECTS)
        $(CC) -shared -Wl,-soname,$@.1 $^ -o $@ -ldl