mirror of
https://github.com/wolfcw/libfaketime.git
synced 2026-05-17 00:26:16 +03:00
Tell the compiler to be C99 compliant, enable all warnings.
Signed-off-by: Lukas Fleischer <info@cryptocrack.de>
This commit is contained in:
@@ -44,7 +44,7 @@ CC = gcc
|
||||
|
||||
PREFIX = /usr/local
|
||||
|
||||
CFLAGS = -DFAKE_STAT -DFAKE_INTERNAL_CALLS -fPIC
|
||||
CFLAGS = -std=gnu99 -Wall -DFAKE_STAT -DFAKE_INTERNAL_CALLS -fPIC
|
||||
LDFLAGS = -shared -ldl -lm -lpthread
|
||||
|
||||
SRC = faketime.c
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
CC = gcc
|
||||
|
||||
CFLAGS = -DFAKE_STAT
|
||||
CFLAGS = -std=gnu99 -Wall -DFAKE_STAT
|
||||
LDFLAGS = -lrt
|
||||
|
||||
SRC = timetest.c
|
||||
|
||||
Reference in New Issue
Block a user