aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRudy Bousset <rbousset@z2r5p2.le-101.fr>2020-02-29 20:05:23 +0100
committerRudy Bousset <rbousset@z2r5p2.le-101.fr>2020-02-29 20:05:23 +0100
commitcabba2ec9a831cfb7192133b85b541fa1faaa89e (patch)
tree3042f52d5ee26f77b537fd3527cbba843ed05cac
parentNormed (diff)
download42-cub3d-cabba2ec9a831cfb7192133b85b541fa1faaa89e.tar.gz
42-cub3d-cabba2ec9a831cfb7192133b85b541fa1faaa89e.tar.bz2
42-cub3d-cabba2ec9a831cfb7192133b85b541fa1faaa89e.tar.xz
42-cub3d-cabba2ec9a831cfb7192133b85b541fa1faaa89e.tar.zst
42-cub3d-cabba2ec9a831cfb7192133b85b541fa1faaa89e.zip
Removed opti flags
-rw-r--r--Makefile12
-rw-r--r--libft/Makefile12
2 files changed, 0 insertions, 24 deletions
diff --git a/Makefile b/Makefile
index f33898a..b0ea728 100644
--- a/Makefile
+++ b/Makefile
@@ -104,18 +104,6 @@ ifdef ASAN
CFLAGS += ${FSANITIZE}
endif
#--------------------------------------------------------------------------------------------------#
-ifdef OPTI
- ifeq (${USER}, salad)
- CFLAGS += -march=broadwell
- else ifeq (${USER}, jozan)
- CFLAGS += -march=ivybridge
- else
- CFLAGS += -march=native
- endif
- CFLAGS += -O2
- CFLAGS += -pipe
-endif
-#--------------------------------------------------------------------------------------------------#
CDEFS = -DFT_SCR_SIZE=\"${SCR_SZE}\"
ifeq (${OS}, Darwin)
CDEFS += -DFT_OS=1
diff --git a/libft/Makefile b/libft/Makefile
index e22c78a..220a8a2 100644
--- a/libft/Makefile
+++ b/libft/Makefile
@@ -134,18 +134,6 @@ ifdef ASAN
CFLAGS += ${FSANITIZE}
endif
#------------------------------------------------------------------------------#
-ifdef OPTI
- ifeq (${USER}, salaaad)
- CFLAGS += -march=broadwell
- else ifeq (${USER}, jozan)
- CFLAGS += -march=ivybridge
- else
- CFLAGS += -march=native
- endif
- CFLAGS += -O2
- CFLAGS += -pipe
-endif
-#------------------------------------------------------------------------------#
NAME = libft.a
#==============================================================================#
#-------------------------------- Library -------------------------------------#