2020-11-25 20:15:00 +01:00
|
|
|
diff --git a/src/Makefile b/src/Makefile
|
2021-02-25 18:44:19 +01:00
|
|
|
index 2af4804..bcff809 100644
|
2020-11-25 20:15:00 +01:00
|
|
|
--- a/src/Makefile
|
|
|
|
+++ b/src/Makefile
|
2021-02-25 18:44:19 +01:00
|
|
|
@@ -80,7 +80,7 @@ PREFIX ?= /usr/local
|
2020-11-25 20:15:00 +01:00
|
|
|
LIBDIRNAME ?= /lib/faketime
|
|
|
|
PLATFORM ?=$(shell uname)
|
|
|
|
|
2021-02-25 18:44:19 +01:00
|
|
|
-CFLAGS += -std=gnu99 -Wall -Wextra -Werror -Wno-nonnull-compare -DFAKE_PTHREAD -DFAKE_STAT -DFAKE_UTIME -DFAKE_SLEEP -DFAKE_TIMERS -DFAKE_INTERNAL_CALLS -fPIC -DPREFIX='"'$(PREFIX)'"' -DLIBDIRNAME='"'$(LIBDIRNAME)'"' $(FAKETIME_COMPILE_CFLAGS)
|
|
|
|
+CFLAGS += -std=gnu99 -Wall -Wextra -DFAKE_PTHREAD -DFAKE_STAT -DFAKE_UTIME -DFAKE_SLEEP -DFAKE_TIMERS -DFAKE_INTERNAL_CALLS -fPIC -DPREFIX='"'$(PREFIX)'"' -DLIBDIRNAME='"'$(LIBDIRNAME)'"' $(FAKETIME_COMPILE_CFLAGS)
|
2020-11-25 20:15:00 +01:00
|
|
|
ifeq ($(PLATFORM),SunOS)
|
|
|
|
CFLAGS += -D__EXTENSIONS__ -D_XOPEN_SOURCE=600
|
|
|
|
endif
|