Add CFLAGS for rpm 95/21395/1
authorRonan Le Martret <ronan@fridu.net>
Mon, 19 May 2014 16:50:23 +0000 (18:50 +0200)
committerRonan Le Martret <ronan@fridu.net>
Mon, 19 May 2014 16:50:23 +0000 (18:50 +0200)
Change-Id: I695fb8697a966edbff7998e5eb7aba6d0a24153b

recipes-tizen/rpm/rpm-extraconf.inc

index 76c55b9..439e73c 100644 (file)
@@ -69,6 +69,7 @@ do_compile() {
    CFLAGS="${CFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CFLAGS ;
    CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables} " ; export CXXFLAGS ;
    FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir } " ; export FFLAGS ;
+   export CFLAGS+=" -DRPM_VENDOR_OE "
    autoreconf -i -f
    ./configure   --host=${HOST_SYS} \
          --target=x86_64-tizen-linux \