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

View File

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