From c4be2ec32f4a56720ff21595b5266670cc840e9d Mon Sep 17 00:00:00 2001 From: Scott Guest Date: Mon, 28 Apr 2025 20:52:15 -0700 Subject: [PATCH] utils/libdislocator/Makefile: Add missing override directive to CFLAGS+= --- README.md | 2 +- utils/libdislocator/Makefile | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index f4c1439a..e1644f99 100644 --- a/README.md +++ b/README.md @@ -230,7 +230,7 @@ Thank you! (For people sending pull requests - please add yourself to this list fuzzah @intrigus-lgtm Yaakov Saxon Sergej Schumilo Ziqiao Kong Ryan Berger - Sangjun Park + Sangjun Park Scott Guest ``` diff --git a/utils/libdislocator/Makefile b/utils/libdislocator/Makefile index 6bfb79ec..b25346c6 100644 --- a/utils/libdislocator/Makefile +++ b/utils/libdislocator/Makefile @@ -19,11 +19,11 @@ HELPER_PATH = $(PREFIX)/lib/afl VERSION = $(shell grep '^\#define VERSION ' ../../config.h | cut -d '"' -f2) 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 += $(USENAMEDPAGE:1=-DUSENAMEDPAGE) -CFLAGS += $(CFLAGS_ADD) +override CFLAGS += $(CFLAGS_ADD) all: libdislocator.so @@ -41,4 +41,3 @@ install: all install -m 755 -d $${DESTDIR}$(HELPER_PATH) install -m 755 ../../libdislocator.so $${DESTDIR}$(HELPER_PATH) install -m 644 -T README.md $${DESTDIR}$(HELPER_PATH)/README.dislocator.md -