aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2023-07-05 08:55:30 -0600
committerJens Axboe <axboe@kernel.dk>2023-07-05 08:55:30 -0600
commit5dea8bb336a6435d9c21bd0fe976f3b0f09e8386 (patch)
tree09c8fea2b69e4ef1f93e087ad9d7b59634d8993b
parent41508de67c06661ff1d473d108a8a01912ade114 (diff)
parent2810cf2863a4b63dab7c434f2fbf3263cc69e4a9 (diff)
downloadfio-5dea8bb336a6435d9c21bd0fe976f3b0f09e8386.tar.gz
Merge branch 'makefile-hardening-cpp-flags' of https://github.com/proact-de/fio
* 'makefile-hardening-cpp-flags' of https://github.com/proact-de/fio: Keep C pre processor hardening build flags.
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 6d7fd4e2b..cc8164b27 100644
--- a/Makefile
+++ b/Makefile
@@ -20,7 +20,7 @@ include config-host.mak
endif
DEBUGFLAGS = -DFIO_INC_DEBUG
-CPPFLAGS= -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL $(DEBUGFLAGS)
+CPPFLAGS+= -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL $(DEBUGFLAGS)
OPTFLAGS= -g -ffast-math
FIO_CFLAGS= -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement $(OPTFLAGS) $(EXTFLAGS) $(BUILD_CFLAGS) -I. -I$(SRCDIR)
LIBS += -lm $(EXTLIBS)