diff options
| author | Roy Marples <roy@marples.name> | 2017-04-13 16:38:17 +0100 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2017-04-13 16:38:17 +0100 |
| commit | c5baf55236c4cb53e5b1e86a91580c3adc16f5a2 (patch) | |
| tree | a105dfb1277256604dd0f728f3abbfc8e4cf3d33 /tests | |
| parent | 6479a49ec141519c03ab72731f67ecb0ec7cd4dd (diff) | |
| download | dhcpcd-c5baf55236c4cb53e5b1e86a91580c3adc16f5a2.tar.xz | |
Default eloop to epoll on Solaris.
Fix eloop-bench to work on Solaris.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/eloop-bench/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/eloop-bench/Makefile b/tests/eloop-bench/Makefile index 3e302a20..e3be36c8 100644 --- a/tests/eloop-bench/Makefile +++ b/tests/eloop-bench/Makefile @@ -9,7 +9,8 @@ CFLAGS?= -O2 CSTD?= c99 CFLAGS+= -std=${CSTD} -CPPFLAGS= -I${TOP} -I${TOP}/src -I${TOP}/compat +CPPFLAGS+= -DNO_CONFIG_H +CPPFLAGS+= -I${TOP} -I${TOP}/src -I${TOP}/compat # Default is to let eloop decide #CPPFLAGS+= -DHAVE_KQUEUE @@ -18,7 +19,7 @@ CPPFLAGS= -I${TOP} -I${TOP}/src -I${TOP}/compat #CPPFLAGS+= -DHAVE_EPOLL #CPPFLAGS+= -DHAVE_PPOLL -OBJS+= ${SRCS:.c=.o} +OBJS+= ${SRCS:.c=.o} .c.o: Makefile ${CC} ${CFLAGS} ${CPPFLAGS} -c $< -o $@ |
