summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaLyong Cho <walyong.cho@samsung.com>2016-12-13 14:23:29 +0900
committerWaLyong Cho <walyong.cho@samsung.com>2016-12-13 19:57:48 +0900
commit7c4cc518012f9a7e6ca41d46a2a8c541f4cde873 (patch)
tree5bce449849a08004445b033fe6b6be86723f825d
parent0de93925efeee893bd218ca0abf20021a4b01a28 (diff)
downloadlibsystem-7c4cc518012f9a7e6ca41d46a2a8c541f4cde873.tar.gz
libsystem-7c4cc518012f9a7e6ca41d46a2a8c541f4cde873.tar.bz2
libsystem-7c4cc518012f9a7e6ca41d46a2a8c541f4cde873.zip
configure.ac: remove duplicate space in build flags
Change-Id: I0f616f4a8bb6b7d4b82c2a41bc745096d61b9824 Signed-off-by: WaLyong Cho <walyong.cho@samsung.com>
-rw-r--r--configure.ac8
1 files changed, 7 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index df18d8e..457975c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -68,6 +68,9 @@ our_ldflags=" \
-Wl,-z,now \
-pie"
+our_cflags=$(echo $our_cflags |sed 's/\t/ /g' | sed 's/ / /g')
+our_ldflags=$(echo $our_ldflags | sed 's/\t/ /g' | sed 's/ / /g')
+
AC_SUBST([OUR_CFLAGS], "$our_cflags")
AC_SUBST([OUR_LDFLAGS], "$our_ldflags")
@@ -111,5 +114,8 @@ AC_MSG_RESULT([
lib dir: ${libdir}
rootlib dir: ${with_rootlibdir}
- OUR CFLAGS: ${OUR_CFLAGS} ${CFLAGS}
+ OUR CFLAGS: ${OUR_CFLAGS}
+ CFLAGS: ${CFLAGS}
+ OUR LDFLAGS: ${OUR_LDFLAGS}
+ LDFLAGS: ${LDFLAGS}
])