From: Jean-Marc Pigeon (Delson) Date: Tue, 17 Jun 2025 23:19:19 +0000 (-0400) Subject: Trying to produce and mariadb system X-Git-Tag: tag-0.9~126 X-Git-Url: https://jmp-git.ovh.safe.ca/?a=commitdiff_plain;h=233442c0304c4ab7239c14c8c8afbc9c55ea35a5;p=jmp%2Fmailleur Trying to produce and mariadb system --- diff --git a/lib/Makefile b/lib/Makefile index 7d8a6a7..d263849 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -2,7 +2,8 @@ #Executable generation area #-------------------------------------------------------------------- debug : toremake - @ $(MAKE) \ + @ echo CFLAGS=$(CFLAGS) + $(MAKE) \ $(PAR) \ OPTIME="-g -DMODEDEBUG" \ objs @@ -145,7 +146,7 @@ toremake: Makefile #-------------------------------------------------------------------- CC = gcc LD = gcc -CFLAGS = -Wall -D_GNU_SOURCE $(OPTIME) +CFLAGS = -Wall -D_GNU_SOURCE $(OPTIME) -DDATABASE=$(DB) LIBMAIL = libmail.a PAR = -j`/usr/bin/getconf _NPROCESSORS_ONLN` #-------------------------------------------------------------------- diff --git a/mailleur.spec.in b/mailleur.spec.in index 0d33752..1f48fe5 100644 --- a/mailleur.spec.in +++ b/mailleur.spec.in @@ -171,6 +171,7 @@ Requires : %{name} = %{version}-%{release} %build %{__make} \ + DB=2 \ debug