summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDongsun Lee <ds73.lee@samsung.com>2017-01-02 20:01:00 +0900
committerPiotr Sawicki <p.sawicki2@partner.samsung.com>2017-11-06 08:53:45 +0100
commit09a421a8427540f0e7b680c9b3c62ac9aa9a751e (patch)
tree2c1af64ba7b9e6daf8cde9bddd1c492eaa3d9016
parent8626fc73d5ab0f84a7e15162d299cdb076285573 (diff)
downloadlibgpg-error-09a421a8427540f0e7b680c9b3c62ac9aa9a751e.tar.gz
libgpg-error-09a421a8427540f0e7b680c9b3c62ac9aa9a751e.tar.bz2
libgpg-error-09a421a8427540f0e7b680c9b3c62ac9aa9a751e.zip
Fix build with GCC6:add -P to C preprocessor when building
Change-Id: I9fb9da0eec1b305b4a8f9e01036c6d3feeb60e77 Signed-off-by: Dongsun Lee <ds73.lee@samsung.com>
-rw-r--r--packaging/libgpg-error.spec1
1 files changed, 1 insertions, 0 deletions
diff --git a/packaging/libgpg-error.spec b/packaging/libgpg-error.spec
index 1bf76b7..3b3694c 100644
--- a/packaging/libgpg-error.spec
+++ b/packaging/libgpg-error.spec
@@ -31,6 +31,7 @@ Files needed for software development using libgpg-error.
cp %{SOURCE1001} .
%build
+export CPPFLAGS+=" -P"
autoreconf -fiv
%configure --disable-static --with-pic
make %{?_smp_mflags}