]> SAFE projects GIT repository - jmp/mailleur/commitdiff
Trying to produce and mariadb system
authorJean-Marc Pigeon (Delson) <jmp@safe.ca>
Tue, 17 Jun 2025 23:19:19 +0000 (19:19 -0400)
committerJean-Marc Pigeon (Delson) <jmp@safe.ca>
Tue, 17 Jun 2025 23:19:19 +0000 (19:19 -0400)
lib/Makefile
mailleur.spec.in

index 7d8a6a7dcde9727c83883dba0aaa4879b5068adc..d2638495ca283351c10bc06d23cd74d8d0c37811 100644 (file)
@@ -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`
 #--------------------------------------------------------------------
index 0d337525b808d3bd2cb956741d1426ae6b212933..1f48fe573b60f0d1886d091b4a50080666baa7c9 100644 (file)
@@ -171,6 +171,7 @@ Requires    :       %{name}                 =  %{version}-%{release}
 %build
 
 %{__make}                              \
+       DB=2                            \
        debug