update ldflags

This commit is contained in:
taotieren 2024-08-08 16:10:08 +08:00 committed by jiang jianjun
parent 8e76d5599b
commit a02562bf92

View File

@ -2,7 +2,7 @@
# Top makefile
#
PREFIX ?= /usr/local
PREFIX ?= /usr/local
CROSS ?=
AS := $(CROSS)gcc -x assembler-with-cpp
@ -15,7 +15,7 @@ RM := rm -fr
ASFLAGS := -g -ggdb -Wall -O3
CFLAGS := -g -ggdb -Wall -O3
CXXFLAGS := -g -ggdb -Wall -O3
LDFLAGS :=
LDFLAGS := -Wl,-z,relro -Wl,-z,now -Wl,-z,shstk
ARFLAGS := -rcs
MCFLAGS :=