From 9acc16f71329bd61198de45d2edb8992652a8d18 Mon Sep 17 00:00:00 2001 From: caodongxia <315816521@qq.com> Date: Fri, 19 Mar 2021 12:46:40 +0800 Subject: [PATCH] create --- Makefile | 2 +- conf-cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index e9ae52c..3b1a0a6 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ # more information. CC = $(shell head -n 1 conf-cc) LD = $(shell head -n 1 conf-ld) - +$(info CFLAGS=$(CC)) SOURCES = memtester.c tests.c OBJECTS = $(SOURCES:.c=.o) HEADERS = memtester.h diff --git a/conf-cc b/conf-cc index b99d03d..c3ad6bb 100644 --- a/conf-cc +++ b/conf-cc @@ -1,3 +1,3 @@ -cc -O2 -DPOSIX -D_POSIX_C_SOURCE=200809L -D_FILE_OFFSET_BITS=64 -DTEST_NARROW_WRITES -c +cc -O2 -fstack-protector-strong -DPOSIX -D_POSIX_C_SOURCE=200809L -D_FILE_OFFSET_BITS=64 -DTEST_NARROW_WRITES -c This will be used to compile .c files. -- 2.27.0