From b9703b29819b619037cc282d719c187e51bacd30 Mon Sep 17 00:00:00 2001 From: Tomas Bzatek Date: Mon, 23 Dec 2024 23:59:45 +0100 Subject: Port to g-i generated glib2 bindings Includes switch to FPC -Mobjfpc and related pointer style fixes. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3