Changements d'options

This commit is contained in:
Pcornat 2021-03-13 11:56:40 +01:00
parent aadc82a004
commit 82dc058284
No known key found for this signature in database
GPG Key ID: 873C3ACCF970C74E
1 changed files with 7 additions and 3 deletions

View File

@ -20,23 +20,27 @@ set(COMPILE_DEFINITIONS
set(COMPILE_FLAGS set(COMPILE_FLAGS
-pipe -pipe
-march=skylake # change to native or your architecture. -march=native # change to native or your architecture.
-mtune=skylake # same as above -mtune=native # same as above
-mrdseed # be careful about this, this is linked to the x86 architecture. -mrdseed # be careful about this, this is linked to the x86 architecture.
-mrdrnd # same as above -mrdrnd # same as above
-stdlib=libc++ -stdlib=libc++
-Wpedantic -Wpedantic
-pedantic
-Wall -Wall
-Wextra -Wextra
-Wmove -Wmove
-Wopenmp -Wopenmp
-ffunction-sections
-fdata-sections
-funroll-loops -funroll-loops
-flto=thin -flto=thin
-fwhole-program-vtables -fwhole-program-vtables
-fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free
) )
set(LINKER_OPTIONS set(LINKER_OPTIONS
-Wl,--sort-common,--as-needed -Wl,--sort-common,--as-needed,--gc-sections,--strip-all
-s
-stdlib=libc++ -stdlib=libc++
-flto=thin -flto=thin
-fwhole-program-vtables -fwhole-program-vtables