Fix broken compilation with ARCH=i686

`override CFLAGS_add` caused make to discard any further assignments.

This regression stems from commit ebe1db3ce4.
This commit is contained in:
Peter Colberg 2016-06-23 23:32:31 -04:00
parent 50c52d2b0f
commit 57ed355361

View file

@ -111,7 +111,7 @@ endif
ifeq ($(OS), WINNT) ifeq ($(OS), WINNT)
SHLIB_EXT = dll SHLIB_EXT = dll
SONAME_FLAG = -soname SONAME_FLAG = -soname
override CFLAGS_add += -nodefaultlibs CFLAGS_add += -nodefaultlibs
shlibdir = $(bindir) shlibdir = $(bindir)
else else
ifeq ($(OS), Darwin) ifeq ($(OS), Darwin)
@ -121,7 +121,7 @@ else
SHLIB_EXT = so SHLIB_EXT = so
SONAME_FLAG = -soname SONAME_FLAG = -soname
endif endif
override CFLAGS_add += -fPIC CFLAGS_add += -fPIC
shlibdir = $(libdir) shlibdir = $(libdir)
endif endif