summaryrefslogtreecommitdiff
path: root/package/setserial/setserial.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/setserial/setserial.mk')
-rw-r--r--package/setserial/setserial.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/setserial/setserial.mk b/package/setserial/setserial.mk
index 604f7df2e..cea3e541a 100644
--- a/package/setserial/setserial.mk
+++ b/package/setserial/setserial.mk
@@ -27,7 +27,7 @@ endif
touch $@
ifeq ($(BR2_PREFER_IMA),y)
-SETSERIAL_CFLAGS=--combine -fwhole-program
+SETSERIAL_CFLAGS=--combine $(CFLAGS_WHOLE_PROGRAM)
endif
$(SETSERIAL_DIR)/.configured: $(SETSERIAL_DIR)/.unpacked