summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorOpenGnSys Support Team <soporte-og@soleta.eu>2018-11-05 15:02:20 +0100
committerOpenGnSys Support Team <soporte-og@soleta.eu>2019-01-17 13:18:36 +0100
commit8d6d833770b39e1e4b9c6f924c81b1ef2eea1d6c (patch)
treeb74f9355e1fae7d40fc73ba956e90f608707ed0d /Makefile
parentef6e3d263c7801df77e3a9a802c3c5dcce0a0eb3 (diff)
#884 do not strip off symbols
Nor use -O3 since this generates code that is harder to debug. Compile binary that can be run inside valgrind for better debugging.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 44321be..c6fd177 100644
--- a/Makefile
+++ b/Makefile
@@ -8,8 +8,7 @@ INSTALL_DIR := /opt/opengnsys
# Opciones de compilacion
CFLAGS := $(shell mysql_config --cflags)
-CFLAGS += -O0 -g -Wall -I../../Includes # Depuracion
-#CFLAGS += -O3 -I../../Includes # Optimizacion
+CFLAGS += -g -Wall -I../../Includes
CPPFLAGS := $(CFLAGS)
# Opciones de linkado
@@ -23,7 +22,6 @@ all: $(PROYECTO)
$(PROYECTO): $(OBJS)
g++ $(LDFLAGS) $(OBJS) -o $(PROYECTO)
-# strip $(PROYECTO) # Optimizacion
install: $(PROYECTO)
cp $(PROYECTO) $(INSTALL_DIR)/sbin