From: Michael Tremer Date: Sun, 20 Feb 2011 00:10:04 +0000 (+0100) Subject: build-essentials: Make CFLAGS and CXXFLAGS independent. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=11c3b5e8a682bb5b3a42b2cd7ffa07d7a63da1fc;p=ipfire-3.x.git build-essentials: Make CFLAGS and CXXFLAGS independent. --- diff --git a/pkgs/core/build-essentials/build-essentials.nm b/pkgs/core/build-essentials/build-essentials.nm index 9ea5643ba..d383d4e90 100644 --- a/pkgs/core/build-essentials/build-essentials.nm +++ b/pkgs/core/build-essentials/build-essentials.nm @@ -26,7 +26,7 @@ include $(PKGROOT)/Include PKG_NAME = build-essentials PKG_VER = $(DISTRO_VERSION) -PKG_REL = 4 +PKG_REL = 5 PKG_ARCH = noarch PKG_MAINTAINER = Michael Tremer diff --git a/pkgs/core/build-essentials/buildsystem/Constants b/pkgs/core/build-essentials/buildsystem/Constants index 6eb6dfb2d..0eb9c85f7 100644 --- a/pkgs/core/build-essentials/buildsystem/Constants +++ b/pkgs/core/build-essentials/buildsystem/Constants @@ -38,8 +38,8 @@ GLOBAL_CFLAGS = -O2 -g -pipe -Wall -fexceptions --param=ssp-buffer-size=4 CFLAGS_i686 = -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables CFLAGS_x86_64 = -m64 -mtune=generic -export CFLAGS = $(GLOBAL_CFLAGS) $(CFLAGS_$(DISTRO_ARCH)) -export CXXFLAGS = $(CFLAGS) +export CFLAGS := $(GLOBAL_CFLAGS) $(CFLAGS_$(DISTRO_ARCH)) +export CXXFLAGS := $(CFLAGS) # Options that get passed to configure by default CONFIGURE_OPTIONS = \