mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-01-18 09:32:47 +08:00
Drop the -fno-strict-aliasing flag for GCC in Makefile.in, since it dealt with type punning using anonymous unions, which fish doesn't have anymore
darcs-hash:20060306184924-ac50b-cfcb9fff791a1fc6d8d18961cf760c13829b5707.gz
This commit is contained in:
parent
91ab644173
commit
05b39a9bdb
|
@ -45,13 +45,10 @@ INSTALL:=@INSTALL@
|
|||
# now. Long term, this should be tracked down and truly fixed, at which
|
||||
# point we can remove this silly flag.
|
||||
#
|
||||
# -fno-strict-aliasing was sent in in a patch from James Vega. The
|
||||
# specific problem that this fixes has been lost to me.
|
||||
#
|
||||
# -Wall is there to keep me on my toes
|
||||
#
|
||||
|
||||
CFLAGS:=@CFLAGS@ -Wall -fno-strict-aliasing -fno-optimize-sibling-calls
|
||||
CFLAGS:=@CFLAGS@ -Wall -fno-optimize-sibling-calls
|
||||
CPPFLAGS=@CPPFLAGS@
|
||||
LDFLAGS:= @LIBS@ @LDFLAGS@
|
||||
|
||||
|
@ -211,7 +208,7 @@ all: $(PROGRAMS) user_doc
|
|||
.PHONY: all
|
||||
|
||||
debug:
|
||||
make fish CFLAGS="-O0 -Wno-unused -Werror -g -Wall -fno-strict-aliasing -fno-optimize-sibling-calls"
|
||||
make fish CFLAGS="-O0 -Wno-unused -Werror -g -Wall -fno-optimize-sibling-calls"
|
||||
.PHONY: debug
|
||||
|
||||
# User documentation, describing the features of the fish shell.
|
||||
|
|
Loading…
Reference in New Issue
Block a user