Skip to content

Commit

Permalink
fix swapped args of filter-out
Browse files Browse the repository at this point in the history
  • Loading branch information
bbonev committed Aug 24, 2021
1 parent 868f329 commit d3df11c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ endif

HAVESREA:=$(shell if $(CC) -mno-stackrealign -c /dev/null -o /dev/null >/dev/null 2>/dev/null;then echo yes;else echo no;fi)
ifeq ("$(HAVESREA)","no")
CFLAGS:=$(filter-out $(CFLAGS),-mno-stackrealign)
CFLAGS:=$(filter-out -mno-stackrealign,$(CFLAGS))
endif

PKG_CONFIG?=pkg-config
Expand Down

0 comments on commit d3df11c

Please sign in to comment.