Skip to content

remove flags #6629

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 19, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -210,9 +210,9 @@ ifndef PROJECT_OPTIMIZATION_CFLAGS_RELEASE
# RELEASE Debugging options (http://gcc.gnu.org/onlinedocs/gcc/Debugging-Options.html)
PLATFORM_OPTIMIZATION_CFLAGS_RELEASE = -O3

ifneq ($(LINUX_ARM),1)
PLATFORM_OPTIMIZATION_CFLAGS_RELEASE += -march=native -mtune=native
endif
#ifneq ($(LINUX_ARM),1)
# PLATFORM_OPTIMIZATION_CFLAGS_RELEASE += -march=native -mtune=native
#endif
else
PLATFORM_OPTIMIZATION_CFLAGS_RELEASE = $(PROJECT_OPTIMIZATION_CFLAGS_RELEASE)
endif
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,10 @@ PLATFORM_CFLAGS += -Wall
PLATFORM_CFLAGS += -fexceptions

# Architecture / Machine Flags (http://gcc.gnu.org/onlinedocs/gcc/Submodel-Options.html)
ifeq ($(shell gcc -march=native -S -o /dev/null -xc /dev/null 2> /dev/null; echo $$?),0)
PLATFORM_CFLAGS += -march=native
PLATFORM_CFLAGS += -mtune=native
endif
#ifeq ($(shell gcc -march=native -S -o /dev/null -xc /dev/null 2> /dev/null; echo $$?),0)
# PLATFORM_CFLAGS += -march=native
# PLATFORM_CFLAGS += -mtune=native
#endif


################################################################################
Expand Down