Skip to content

Commit

Permalink
Fix broken compilation with ARCH=i686
Browse files Browse the repository at this point in the history
`override CFLAGS_add` caused make to discard any further assignments.

This regression stems from commit ebe1db3.
  • Loading branch information
petercolberg committed Jun 24, 2016
1 parent 50c52d2 commit 57ed355
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Make.inc
Expand Up @@ -111,7 +111,7 @@ endif
ifeq ($(OS), WINNT)
SHLIB_EXT = dll
SONAME_FLAG = -soname
override CFLAGS_add += -nodefaultlibs
CFLAGS_add += -nodefaultlibs
shlibdir = $(bindir)
else
ifeq ($(OS), Darwin)
Expand All @@ -121,7 +121,7 @@ else
SHLIB_EXT = so
SONAME_FLAG = -soname
endif
override CFLAGS_add += -fPIC
CFLAGS_add += -fPIC
shlibdir = $(libdir)
endif

Expand Down

0 comments on commit 57ed355

Please sign in to comment.