summaryrefslogtreecommitdiff
path: root/devel/libfaketime/files/patch-test_Makefile
blob: b2957b2e6ae8523c0fb72e41e5bd2f262ca03079 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- test/Makefile.orig	2016-06-27 06:54:00 UTC
+++ test/Makefile
@@ -1,7 +1,7 @@
-CC = gcc
+CC ?= gcc
 
-CFLAGS = -std=gnu99 -Wall -DFAKE_STAT -Werror -Wextra
-LDFLAGS = -lrt
+CFLAGS ?= -std=gnu99 -Wall -DFAKE_STAT -Werror -Wextra
+LDFLAGS = -lrt -lcompat
 
 SRC = timetest.c
 OBJ = ${SRC:.c=.o}