summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@intel.com>2015-01-02 16:32:03 -0200
committerLucas De Marchi <lucas.demarchi@intel.com>2015-01-02 16:32:03 -0200
commit84aaaedfa6295ebe1f24b114b35ab0f53c138bbd (patch)
tree39d4510acfb68b0f94666db91fde5a50ec3b4cb8 /configure.ac
parentb35bf2a11cfe14d4705e432987bec875d62e4d3d (diff)
downloadkmod-84aaaedfa6295ebe1f24b114b35ab0f53c138bbd.tar.gz
kmod-84aaaedfa6295ebe1f24b114b35ab0f53c138bbd.tar.bz2
kmod-84aaaedfa6295ebe1f24b114b35ab0f53c138bbd.zip
build-sys: rename cflags/ldflags variable
Not all of them are for warnings or gc.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index f28bfed..3be3198 100644
--- a/configure.ac
+++ b/configure.ac
@@ -204,13 +204,13 @@ CC_CHECK_FLAGS_APPEND(with_cflags, [CFLAGS], [\
-fvisibility=hidden \
-ffunction-sections \
-fdata-sections])
-AC_SUBST([WARNINGFLAGS], $with_cflags)
+AC_SUBST([OUR_CFLAGS], $with_cflags)
CC_CHECK_FLAGS_APPEND([with_ldflags], [LDFLAGS], [ \
-Wl,--as-needed \
-Wl,--gc-sections])
-AC_SUBST([GCLDFLAGS], $with_ldflags)
+AC_SUBST([OUR_LDFLAGS], $with_ldflags)
#####################################################################
# Generate files from *.in