Skip to content

Commit

Permalink
Merge pull request #91 from orbea/strict-aliasing
Browse files Browse the repository at this point in the history
build: remove -fno-strict-aliasing
  • Loading branch information
richard42 authored Nov 4, 2024
2 parents 2798e65 + 1b7c25c commit 47f8e92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projects/unix/Makefile
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,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 47f8e92

Please sign in to comment.