mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-25 23:44:35 +00:00
Don't pass -s parameter to clang.
This commit is contained in:
parent
81c91a87fc
commit
62d6f4127d
@ -1,7 +1,6 @@
|
||||
ARCH := $(shell uname -m)
|
||||
|
||||
CFLAGS := -O3 -s -march=native
|
||||
CFLAGS := -O3 -march=native
|
||||
DEFINES := -DNDEBUG
|
||||
BUILD := release
|
||||
|
||||
include ../../../common/unix-release.mk
|
||||
include build.mk
|
||||
|
3
common/unix-release.mk
Normal file
3
common/unix-release.mk
Normal file
@ -0,0 +1,3 @@
|
||||
ifeq (0,$(shell $(CC) --version | grep clang && echo 1 || echo 0))
|
||||
CFLAGS += -s
|
||||
endif
|
@ -1,7 +1,6 @@
|
||||
ARCH := $(shell uname -m)
|
||||
|
||||
CFLAGS := -O3 -s -march=native
|
||||
CFLAGS := -O3 -march=native
|
||||
DEFINES := -DNDEBUG
|
||||
BUILD := release
|
||||
|
||||
include ../../../common/unix-release.mk
|
||||
include build.mk
|
||||
|
@ -1,7 +1,6 @@
|
||||
ARCH := $(shell uname -m)
|
||||
|
||||
CFLAGS := -O3 -s -march=native
|
||||
CFLAGS := -O3 -march=native
|
||||
DEFINES := -DNDEBUG
|
||||
BUILD := release
|
||||
|
||||
include ../../../common/unix-release.mk
|
||||
include build.mk
|
||||
|
@ -1,7 +1,6 @@
|
||||
ARCH := $(shell uname -m)
|
||||
|
||||
CFLAGS := -O3 -s -march=native
|
||||
CFLAGS := -O3 -march=native
|
||||
DEFINES := -DNDEBUG
|
||||
BUILD := release
|
||||
|
||||
include ../../../common/unix-release.mk
|
||||
include build.mk
|
||||
|
Loading…
Reference in New Issue
Block a user