summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2021-03-05 21:26:18 -0500
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>2021-03-05 21:45:23 -0500
commit51f1248593d4cc53b889b3138435c9d063d0676c (patch)
tree3375236f7989b051d16c47aa83fb16510b204e96
parente70b143733056b9c40c6a627a026e77fa8a1df0a (diff)
downloadlibfaketime-51f1248593d4cc53b889b3138435c9d063d0676c.tar.gz
tests: use CFLAGS from the environment.
This makes the test build process use the same sort of CFLAGS as the rest of the code.
-rw-r--r--test/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Makefile b/test/Makefile
index e3e94ca..712c5cf 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -1,7 +1,7 @@
CC = gcc
-CFLAGS = -std=gnu99 -Wall -DFAKE_STAT -Werror -Wextra $(FAKETIME_COMPILE_CFLAGS)
-LDFLAGS = -lrt -lpthread
+CFLAGS += -std=gnu99 -Wall -DFAKE_STAT -Werror -Wextra $(FAKETIME_COMPILE_CFLAGS)
+LDFLAGS += -lrt -lpthread
SRC = timetest.c
OBJ = ${SRC:.c=.o}