aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <igor.pashev@nexenta.com>2012-11-26 20:16:15 +0400
committerIgor Pashev <igor.pashev@nexenta.com>2012-11-26 20:16:15 +0400
commit5553685c02daa07af50dc4b3c45622d75432c759 (patch)
treea2216a5160e47d780a9f43f1a295d55733424e5c
parentd315f2ae47b6201ba16c3f2b66775476ca9965a0 (diff)
downloadcibs-5553685c02daa07af50dc4b3c45622d75432c759.tar.gz
Allow variant-specific CFLAGS
-rw-r--r--rules/common.mk4
1 files changed, 2 insertions, 2 deletions
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)