summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <Colomar.6.4.3@GMail.com>2020-04-06 16:17:51 +0200
committerGitHub <noreply@github.com>2020-04-06 16:17:51 +0200
commit28007edd24aa9e96e6a63986ac924cdd50d2c24e (patch)
tree8cc3a380dc350f2d1254bb3c0ccb9929ad8ebc6e
parentc227bb434f7f994e94abc9bf37bee430dc111d83 (diff)
parent1ce63d18844e5db3ac4904f8c7f51804a6633649 (diff)
Merge pull request #35 from alejandro-colomar/master
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_; \