Skip to content

Commit

Permalink
build: remove -fno-strict-aliasing (#44)
Browse files Browse the repository at this point in the history
This builds with -Werror=strict-aliasing so it should be not required.
  • Loading branch information
orbea authored Nov 3, 2024
1 parent 6c2c3f8 commit 7573056
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projects/unix/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,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)
CFLAGS += $(OPTFLAGS) $(WARNFLAGS) -ffast-math -fvisibility=hidden -I$(SRCDIR)
LDFLAGS += $(SHARED)

# Since we are building a shared library, we must compile with -fPIC on some architectures
Expand Down

0 comments on commit 7573056

Please sign in to comment.