1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115
|
From: Helmut Grohne <helmut@subdivi.de>
Date: Fri, 30 Oct 2020 20:43:21 +0100
Bug-Debian: https://bugs.debian.org/973450
Description: Do not hard code the build architecture compiler
--- a/Debug/makefile
+++ b/Debug/makefile
@@ -56,7 +56,7 @@ all: SURVIVOR
SURVIVOR: $(OBJS) $(USER_OBJS)
@echo 'Building target: $@'
@echo 'Invoking: Cross G++ Linker'
- g++ -o $@ $(OBJS) $(USER_OBJS) $(LIBS)
+ $(CXX) -o $@ $(OBJS) $(USER_OBJS) $(LIBS)
@echo 'Finished building target: $@'
@echo ' '
--- a/Debug/src/analysis_sv/subdir.mk
+++ b/Debug/src/analysis_sv/subdir.mk
@@ -32,7 +32,7 @@ CPP_DEPS += \
src/analysis_sv/%.o: ../src/analysis_sv/%.cpp
@echo 'Building file: $<'
@echo 'Invoking: Cross G++ Compiler'
- g++ -O3 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<"
+ $(CXX) -O3 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<"
@echo 'Finished building: $<'
@echo ' '
--- a/Debug/src/convert/subdir.mk
+++ b/Debug/src/convert/subdir.mk
@@ -47,7 +47,7 @@ CPP_DEPS += \
src/convert/%.o: ../src/convert/%.cpp
@echo 'Building file: $<'
@echo 'Invoking: Cross G++ Compiler'
- g++ -O3 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<"
+ $(CXX) -O3 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<"
@echo 'Finished building: $<'
@echo ' '
--- a/Debug/src/merge_vcf/subdir.mk
+++ b/Debug/src/merge_vcf/subdir.mk
@@ -20,7 +20,7 @@ CPP_DEPS += \
src/merge_vcf/%.o: ../src/merge_vcf/%.cpp
@echo 'Building file: $<'
@echo 'Invoking: Cross G++ Compiler'
- g++ -O3 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<"
+ $(CXX) -O3 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<"
@echo 'Finished building: $<'
@echo ' '
--- a/Debug/src/phasing/subdir.mk
+++ b/Debug/src/phasing/subdir.mk
@@ -17,7 +17,7 @@ CPP_DEPS += \
src/phasing/%.o: ../src/phasing/%.cpp
@echo 'Building file: $<'
@echo 'Invoking: Cross G++ Compiler'
- g++ -O3 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<"
+ $(CXX) -O3 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<"
@echo 'Finished building: $<'
@echo ' '
--- a/Debug/src/scrup_vcf/subdir.mk
+++ b/Debug/src/scrup_vcf/subdir.mk
@@ -17,7 +17,7 @@ CPP_DEPS += \
src/scrup_vcf/%.o: ../src/scrup_vcf/%.cpp
@echo 'Building file: $<'
@echo 'Invoking: Cross G++ Compiler'
- g++ -O3 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<"
+ $(CXX) -O3 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<"
@echo 'Finished building: $<'
@echo ' '
--- a/Debug/src/simulator/subdir.mk
+++ b/Debug/src/simulator/subdir.mk
@@ -32,7 +32,7 @@ CPP_DEPS += \
src/simulator/%.o: ../src/simulator/%.cpp
@echo 'Building file: $<'
@echo 'Invoking: Cross G++ Compiler'
- g++ -O3 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<"
+ $(CXX) -O3 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<"
@echo 'Finished building: $<'
@echo ' '
--- a/Debug/src/snp_overlap/subdir.mk
+++ b/Debug/src/snp_overlap/subdir.mk
@@ -17,7 +17,7 @@ CPP_DEPS += \
src/snp_overlap/%.o: ../src/snp_overlap/%.cpp
@echo 'Building file: $<'
@echo 'Invoking: Cross G++ Compiler'
- g++ -O3 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<"
+ $(CXX) -O3 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<"
@echo 'Finished building: $<'
@echo ' '
--- a/Debug/src/subdir.mk
+++ b/Debug/src/subdir.mk
@@ -29,7 +29,7 @@ CPP_DEPS += \
src/%.o: ../src/%.cpp
@echo 'Building file: $<'
@echo 'Invoking: Cross G++ Compiler'
- g++ -O3 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<"
+ $(CXX) -O3 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<"
@echo 'Finished building: $<'
@echo ' '
--- a/Debug/src/vcfs/subdir.mk
+++ b/Debug/src/vcfs/subdir.mk
@@ -35,7 +35,7 @@ CPP_DEPS += \
src/vcfs/%.o: ../src/vcfs/%.cpp
@echo 'Building file: $<'
@echo 'Invoking: Cross G++ Compiler'
- g++ -O3 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<"
+ $(CXX) -O3 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<"
@echo 'Finished building: $<'
@echo ' '
|