From 5553685c02daa07af50dc4b3c45622d75432c759 Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Mon, 26 Nov 2012 20:16:15 +0400 Subject: Allow variant-specific CFLAGS --- rules/common.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rules') diff --git a/rules/common.mk b/rules/common.mk index 0e4ba57..2811539 100644 --- a/rules/common.mk +++ b/rules/common.mk @@ -73,8 +73,8 @@ CXX.32 = g++ -m32 CXX.64 = g++ -m64 export PATH := /usr/bin:/usr/gnu/bin:/usr/sbin:/sbin -export CFLAGS = -O2 -export CXXFLAGS = -O2 +export CFLAGS = -O2 $(CFLAGS.$(variant)) +export CXXFLAGS = -O2 $(CXXFLAGS.$(variant)) prefix = /usr libdir.32 = $(prefix)/lib/$(mach32) -- cgit v1.2.3