Changements d'options
This commit is contained in:
parent
aadc82a004
commit
82dc058284
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user