summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikolai Merinov <n.merinov@samsung.com>2019-02-08 17:18:58 +0300
committerNikolai Merinov <n.merinov@samsung.com>2019-02-08 17:18:58 +0300
commitb6ce92cf3a6d7dad0773d895403a6627103b1a64 (patch)
tree96e53069ccf406e637ac91490697d8c545fc187b
parent8099376fbc386275b6218993d3aac7918932d50c (diff)
downloadise-engine-anthy-sandbox/nmerinov/llvm.tar.gz
ise-engine-anthy-sandbox/nmerinov/llvm.tar.bz2
ise-engine-anthy-sandbox/nmerinov/llvm.zip
Move -DEXPORTED to Makefile.amsandbox/nmerinov/llvm
-rw-r--r--packaging/ise-engine-anthy.spec1
-rwxr-xr-xsrc/Makefile.am3
2 files changed, 2 insertions, 2 deletions
diff --git a/packaging/ise-engine-anthy.spec b/packaging/ise-engine-anthy.spec
index e02ff16..895bccb 100644
--- a/packaging/ise-engine-anthy.spec
+++ b/packaging/ise-engine-anthy.spec
@@ -22,7 +22,6 @@ ise-engine-anthy is ISF IMEngine module for Japanese input method base.It conver
%build
export CFLAGS+=" -fvisibility=hidden "
export CXXFLAGS+=" -fvisibility=hidden "
-export CPPFLAGS+=" -DEXPORTED=__attribute__\(\(visibility\(\\\"default\\\"\)\)\)"
./bootstrap
%configure --prefix=%{_prefix} --disable-static
diff --git a/src/Makefile.am b/src/Makefile.am
index a05920f..00ff92f 100755
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -19,7 +19,8 @@ AM_CPPFLAGS = \
-DSCIM_ANTHY_LOCALEDIR=\"$(datadir)/locale\" \
-DSCIM_ICONDIR=\"@SCIM_ICONDIR@\" \
-DSCIM_ANTHY_DATADIR=\"@SCIM_ANTHY_DATADIR@\" \
- -DSCIM_ANTHY_STYLEDIR=\"@SCIM_ANTHY_DATADIR@/style\"
+ -DSCIM_ANTHY_STYLEDIR=\"@SCIM_ANTHY_DATADIR@/style\" \
+ -DEXPORTED="__attribute__((visibility(\"default\")))"
INCLUDE = \
-I$(top_builddir) \
-I$(top_srcdir) \