Skip to content

Commit 8910b2f

Browse files
committed
build: Remove bogus -fno-strict-aliasing flags. Issue #2701
1 parent 3d0826b commit 8910b2f

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

mk/platform.mk

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@ endef
99
$(foreach t,$(CFG_TARGET_TRIPLES),$(eval $(call DEF_HOST_VAR,$(t))))
1010
$(foreach t,$(CFG_TARGET_TRIPLES),$(info cfg: host for $(t) is $(HOST_$(t))))
1111

12-
# FIXME: This appears to do nothing
13-
CFG_GCCISH_FLAGS += -fno-strict-aliasing
14-
1512
# FIXME: no-omit-frame-pointer is just so that task_start_wrapper
1613
# has a frame pointer and the stack walker can understand it. Turning off
1714
# frame pointers everywhere is overkill
@@ -146,7 +143,7 @@ ifdef CFG_UNIXY
146143
CFG_VALGRIND += wine
147144
endif
148145

149-
CFG_GCCISH_CFLAGS := -fno-strict-aliasing -march=i586
146+
CFG_GCCISH_CFLAGS := -march=i586
150147
CFG_GCCISH_PRE_LIB_FLAGS :=
151148
CFG_GCCISH_POST_LIB_FLAGS :=
152149
CFG_GCCISH_DEF_FLAG :=

0 commit comments

Comments
 (0)