# 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)
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
TOOLEXENAMES := $(TOOLEXENAME_G)
else
ifdef ENABLE_PROFILING
- TOOLEXENAMES := $(TOOLEXENAME_O)
- else
TOOLEXENAMES := $(TOOLEXENAME_P)
+ else
+ TOOLEXENAMES := $(TOOLEXENAME_O)
endif
endif
# 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)
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
TOOLEXENAMES := $(TOOLEXENAME_G)
else
ifdef ENABLE_PROFILING
- TOOLEXENAMES := $(TOOLEXENAME_O)
- else
TOOLEXENAMES := $(TOOLEXENAME_P)
+ else
+ TOOLEXENAMES := $(TOOLEXENAME_O)
endif
endif