summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <colomar.6.4.3@gmail.com>2020-04-06 16:13:18 +0200
committerAlejandro Colomar <colomar.6.4.3@gmail.com>2020-04-06 16:13:18 +0200
commit1ce63d18844e5db3ac4904f8c7f51804a6633649 (patch)
tree8cc3a380dc350f2d1254bb3c0ccb9929ad8ebc6e
parent0a40800c29a5503d65ac207c3899f834d6218388 (diff)
Compile for all amd64 targets (not native)
-rw-r--r--Makefile2
-rw-r--r--src/dbg.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 7db0a86..21414a8 100644
--- a/Makefile
+++ b/Makefile
@@ -45,7 +45,7 @@ export SZ
# cflags
CFLAGS_STD = -std=gnu17
CFLAGS_W = -Wall -Wextra -Wno-format -Werror
-CFLAGS_O = -O3 -march=native -flto
+CFLAGS_O = -O3 -march=x86-64 -flto
CFLAGS_PKG = `pkg-config --cflags libalx-base`
CFLAGS_PKG += `pkg-config --cflags libalx-cv`
CFLAGS = $(CFLAGS_W) $(CFLAGS_O) $(CFLAGS_PKG)
diff --git a/src/dbg.h b/src/dbg.h
index c4a1b47..7a09123 100644
--- a/src/dbg.h
+++ b/src/dbg.h
@@ -24,8 +24,8 @@
/******************************************************************************
******* macro ****************************************************************
******************************************************************************/
-#define DBG 0
-#define DBG_SHOW_WAIT 0
+#define DBG 3
+#define DBG_SHOW_WAIT 01
#define DBG_SHOWTIME(dbg) ( \
{ \
int tm_; \