for different architectures.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3862
91177308-0d34-0410-b5e6-
96231b3b80d8
# Special tools used while building the LLVM tree. Burg is built as part of the
# utils directory.
#
# Special tools used while building the LLVM tree. Burg is built as part of the
# utils directory.
#
-BURG := $(LEVEL)/utils/Burg/burg
+BURG := $(LEVEL)/utils/Burg/burg.$(UNAME)
RunBurg := $(BURG) $(BURG_OPTS)
RunBurg := $(BURG) $(BURG_OPTS)
endif
LinkG := $(Link) -g -L $(LIBDEBUG) $(STRIP)
LinkO := $(Link) -O3 -L $(LIBRELEASE)
endif
LinkG := $(Link) -g -L $(LIBDEBUG) $(STRIP)
LinkO := $(Link) -O3 -L $(LIBRELEASE)
-LinkP := $(LinkO) $(PROFILE)
+LinkP := $(Link) -O3 -L $(LIBPROFILE) $(PROFILE)
# Create one .o file from a bunch of .o files...
Relink = ld -r
# Create one .o file from a bunch of .o files...
Relink = ld -r
TOOLEXENAMES := $(TOOLEXENAME_G)
else
ifdef ENABLE_PROFILING
TOOLEXENAMES := $(TOOLEXENAME_G)
else
ifdef ENABLE_PROFILING
- TOOLEXENAMES := $(TOOLEXENAME_O)
- else
TOOLEXENAMES := $(TOOLEXENAME_P)
TOOLEXENAMES := $(TOOLEXENAME_P)
+ else
+ TOOLEXENAMES := $(TOOLEXENAME_O)
# Special tools used while building the LLVM tree. Burg is built as part of the
# utils directory.
#
# Special tools used while building the LLVM tree. Burg is built as part of the
# utils directory.
#
-BURG := $(LEVEL)/utils/Burg/burg
+BURG := $(LEVEL)/utils/Burg/burg.$(UNAME)
RunBurg := $(BURG) $(BURG_OPTS)
RunBurg := $(BURG) $(BURG_OPTS)
endif
LinkG := $(Link) -g -L $(LIBDEBUG) $(STRIP)
LinkO := $(Link) -O3 -L $(LIBRELEASE)
endif
LinkG := $(Link) -g -L $(LIBDEBUG) $(STRIP)
LinkO := $(Link) -O3 -L $(LIBRELEASE)
-LinkP := $(LinkO) $(PROFILE)
+LinkP := $(Link) -O3 -L $(LIBPROFILE) $(PROFILE)
# Create one .o file from a bunch of .o files...
Relink = ld -r
# Create one .o file from a bunch of .o files...
Relink = ld -r
TOOLEXENAMES := $(TOOLEXENAME_G)
else
ifdef ENABLE_PROFILING
TOOLEXENAMES := $(TOOLEXENAME_G)
else
ifdef ENABLE_PROFILING
- TOOLEXENAMES := $(TOOLEXENAME_O)
- else
TOOLEXENAMES := $(TOOLEXENAME_P)
TOOLEXENAMES := $(TOOLEXENAME_P)
+ else
+ TOOLEXENAMES := $(TOOLEXENAME_O)