diff options
Diffstat (limited to 'devel/libfaketime/files/patch-test_Makefile')
-rw-r--r-- | devel/libfaketime/files/patch-test_Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/devel/libfaketime/files/patch-test_Makefile b/devel/libfaketime/files/patch-test_Makefile index b2957b2e6ae8..c1fdae76f0ea 100644 --- a/devel/libfaketime/files/patch-test_Makefile +++ b/devel/libfaketime/files/patch-test_Makefile @@ -1,13 +1,13 @@ ---- test/Makefile.orig 2016-06-27 06:54:00 UTC +--- test/Makefile.orig 2025-06-09 12:31:15 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 +-CFLAGS += -std=gnu99 -Wall -DFAKE_STAT -Werror -Wextra $(FAKETIME_COMPILE_CFLAGS) -U_FILE_OFFSET_BITS -U_TIME_BITS +-LDFLAGS += -lrt -lpthread ++CFLAGS ?= -std=gnu99 -Wall -DFAKE_STAT -Werror -Wextra $(FAKETIME_COMPILE_CFLAGS) -U_FILE_OFFSET_BITS -U_TIME_BITS ++LDFLAGS += -lcompat -lrt -lpthread SRC = timetest.c OBJ = ${SRC:.c=.o} |