Skip to content

Commit

Permalink
3rdParty: remove -fno-strict-aliasing
Browse files Browse the repository at this point in the history
The build succeeds with -Werror=strict-aliasing so this is not needed.
  • Loading branch information
orbea committed Nov 4, 2024
1 parent 4cd4f4c commit 7492385
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ OBJDIR = _obj$(POSTFIX)
# base CFLAGS, LDLIBS, and LDFLAGS
OPTFLAGS ?= -O3 -flto
WARNFLAGS ?= -Wall
CFLAGS += $(OPTFLAGS) $(WARNFLAGS) -ffast-math -fno-strict-aliasing -fvisibility=hidden -I$(SRCDIR) -D_GNU_SOURCE=1
CFLAGS += $(OPTFLAGS) $(WARNFLAGS) -ffast-math -fvisibility=hidden -I$(SRCDIR) -D_GNU_SOURCE=1
LDFLAGS += $(SHARED)
LDLIBS += -lm

Expand Down

0 comments on commit 7492385

Please sign in to comment.