Subversion Repositories svn.mios32

Rev

Rev 1734 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1734 Rev 1803
Line 4... Line 4...
4
ifndef CONFIG
4
ifndef CONFIG
5
  CONFIG=Debug
5
  CONFIG=Debug
6
endif
6
endif
7
7
8
ifeq ($(TARGET_ARCH),)
8
ifeq ($(TARGET_ARCH),)
-
 
9
# TK: leads to segfault if the processor is older than the one the program was compiled with
-
 
10
# I got this info from forum user Musical
9
  TARGET_ARCH := -march=native
11
#  TARGET_ARCH := -march=native
10
endif
12
endif
11
13
12
# (this disables dependency generation if multiple architectures are set)
14
# (this disables dependency generation if multiple architectures are set)
13
DEPFLAGS := $(if $(word 2, $(TARGET_ARCH)), , -MMD)
15
DEPFLAGS := $(if $(word 2, $(TARGET_ARCH)), , -MMD)
14
16