summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@redhat.com>2024-12-23 23:59:45 +0100
committerTomas Bzatek <tbzatek@redhat.com>2025-11-27 19:36:10 +0100
commitb9703b29819b619037cc282d719c187e51bacd30 (patch)
treebd6d73e5fb6bcb6eb307844103b3dff185f2ac9a /Makefile
parenta9634b933f71a9045e61d29c486f2d51d39fd1e2 (diff)
downloadtuxcmd-b9703b29819b619037cc282d719c187e51bacd30.tar.xz
Port to g-i generated glib2 bindings
Includes switch to FPC -Mobjfpc and related pointer style fixes.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 8f8add9..46a9e3b 100644
--- a/Makefile
+++ b/Makefile
@@ -36,7 +36,7 @@ LIB_SUFFIX=`if test \`uname -m\` = x86_64 -o \`uname -m\` = ppc64; then echo 64;
# -Cg generates internal compiler errors on i386
# -XX prevents linking errors of unresolved and unused symbols
# "-k-z noexecstack" (with quotes as a single parameter) avoids marking stack as executable, allowing to work correctly with SELinux in Enforcing mode
-CFLAGS= -vweh -Un -Ci -Co -XX "-k-z noexecstack"
+CFLAGS= -vewnhib -Sch -Un -Ci -Co -XX "-k-z noexecstack"
EXTRA_CFLAGS= -O3
@@ -48,7 +48,7 @@ tuxcmd::
echo " ConstFPCCompilerHostProcessorString = '`fpc -iSP`';" >> fpcver.inc
echo " ConstFPCTargetOSString = '`fpc -iTO`';" >> fpcver.inc
echo " ConstFPCTargetProcessorString = '`fpc -iTP`';" >> fpcver.inc
- fpc -Mdelphi $(CFLAGS) $(EXTRA_CFLAGS) \
+ fpc -Mobjfpc $(CFLAGS) $(EXTRA_CFLAGS) \
-Fu./bindings -Fu./libgtk_kylix -Fu./translations -Fu./vfs \
tuxcmd.dpr