utils/libdislocator/Makefile: Add missing override directive to CFLAGS+=

This commit is contained in:
Scott Guest 2025-04-28 20:52:15 -07:00
parent 6c70d68783
commit c4be2ec32f
2 changed files with 3 additions and 4 deletions

View File

@ -230,7 +230,7 @@ Thank you! (For people sending pull requests - please add yourself to this list
fuzzah @intrigus-lgtm fuzzah @intrigus-lgtm
Yaakov Saxon Sergej Schumilo Yaakov Saxon Sergej Schumilo
Ziqiao Kong Ryan Berger Ziqiao Kong Ryan Berger
Sangjun Park Sangjun Park Scott Guest
``` ```
</details> </details>

View File

@ -19,11 +19,11 @@ HELPER_PATH = $(PREFIX)/lib/afl
VERSION = $(shell grep '^\#define VERSION ' ../../config.h | cut -d '"' -f2) VERSION = $(shell grep '^\#define VERSION ' ../../config.h | cut -d '"' -f2)
CFLAGS ?= -O3 -funroll-loops -D_FORTIFY_SOURCE=2 CFLAGS ?= -O3 -funroll-loops -D_FORTIFY_SOURCE=2
CFLAGS += -I ../../include/ -Wall -g -Wno-pointer-sign override CFLAGS += -I ../../include/ -Wall -g -Wno-pointer-sign
CFLAGS_ADD=$(USEHUGEPAGE:1=-DUSEHUGEPAGE) CFLAGS_ADD=$(USEHUGEPAGE:1=-DUSEHUGEPAGE)
CFLAGS_ADD += $(USENAMEDPAGE:1=-DUSENAMEDPAGE) CFLAGS_ADD += $(USENAMEDPAGE:1=-DUSENAMEDPAGE)
CFLAGS += $(CFLAGS_ADD) override CFLAGS += $(CFLAGS_ADD)
all: libdislocator.so all: libdislocator.so
@ -41,4 +41,3 @@ install: all
install -m 755 -d $${DESTDIR}$(HELPER_PATH) install -m 755 -d $${DESTDIR}$(HELPER_PATH)
install -m 755 ../../libdislocator.so $${DESTDIR}$(HELPER_PATH) install -m 755 ../../libdislocator.so $${DESTDIR}$(HELPER_PATH)
install -m 644 -T README.md $${DESTDIR}$(HELPER_PATH)/README.dislocator.md install -m 644 -T README.md $${DESTDIR}$(HELPER_PATH)/README.dislocator.md