branch: externals/xeft
commit b9759e2f576b4155cb26de93d1e309152cdd50d1
Author: Yuan Fu <caso...@gmail.com>
Commit: Yuan Fu <caso...@gmail.com>

    Fix for Linux
---
 Makefile       | 2 +-
 xeft-module.cc | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 85ea3a839a..acf75f18c5 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
 .POSIX:
 PREFIX = /usr/local
 CXX = g++
-CXXFLAGS = -I$(PREFIX)/include
+CXXFLAGS = -fPIC -I$(PREFIX)/include
 LDFLAGS = -L$(PREFIX)/lib
 LDLIBS = -lxapian
 
diff --git a/xeft-module.cc b/xeft-module.cc
index 22152e6bd7..f7c079bbd7 100644
--- a/xeft-module.cc
+++ b/xeft-module.cc
@@ -420,7 +420,7 @@ Fxeft_query_term
 }
 
 int
-emacs_module_init (struct emacs_runtime *ert)
+emacs_module_init (struct emacs_runtime *ert) noexcept
 {
   emacs_env *env = ert->get_environment (ert);
 

Reply via email to