configure.ac: remove duplicate space in build flags
authorWaLyong Cho <walyong.cho@samsung.com>
Tue, 13 Dec 2016 05:23:29 +0000 (14:23 +0900)
committerWaLyong Cho <walyong.cho@samsung.com>
Tue, 13 Dec 2016 10:57:48 +0000 (19:57 +0900)
Change-Id: I0f616f4a8bb6b7d4b82c2a41bc745096d61b9824
Signed-off-by: WaLyong Cho <walyong.cho@samsung.com>
configure.ac

index df18d8e..457975c 100644 (file)
@@ -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}
 ])