Skip to content
Commits on Source (2)
glam2 (1064-8) unstable; urgency=medium
* Team upload.
* Build for the right architecture
Closes: 931154
-- Nguyen Hoang Tung <tung.nguyenhoang@toshiba-tsdv.com> Thu, 27 Jun 2019 14:32:02 +0200
glam2 (1064-7) unstable; urgency=medium
* Team upload.
......
Author: Nguyen Hoang Tung <tung.nguyenhoang@toshiba-tsdv.com>
Date: Thu, 27 Jun 2019 15:22:04 +0700
Bug-Debian: https://bugs.debian.org/931154
Description: build for the right architecture
diff -Nru orig/glam2-1064/purge/Makefile glam2-1064/purge/Makefile
--- orig/glam2-1064/purge/Makefile 2019-05-24 10:16:05.000000000 +0000
+++ glam2-1064/purge/Makefile 2019-05-24 10:15:39.931223187 +0000
@@ -3,4 +3,4 @@
# Command for compiling purge:
purge: *.c *.h Makefile
- cc $(CFLAGS) -o purge *.c -lm $(LDFLAGS)
+ $(CC) $(CFLAGS) -o purge *.c -lm $(LDFLAGS)
diff -Nru orig/glam2-1064/src/Makefile glam2-1064/src/Makefile
--- orig/glam2-1064/src/Makefile 2019-05-24 10:16:05.000000000 +0000
+++ glam2-1064/src/Makefile 2019-05-24 10:15:29.875223187 +0000
@@ -31,39 +31,39 @@
# Command for compiling glam2:
glam2: $(GSRC) *.h Makefile
- cc $(CFLAGS) -o glam2 $(GSRC) -lm $(LDFLAGS)
+ $(CC) $(CFLAGS) -o glam2 $(GSRC) -lm $(LDFLAGS)
# Command for compiling glam2scan:
glam2scan: $(SSRC) *.h Makefile
- cc $(CFLAGS) -o glam2scan $(SSRC) -lm $(LDFLAGS)
+ $(CC) $(CFLAGS) -o glam2scan $(SSRC) -lm $(LDFLAGS)
# Command for compiling glam2format:
glam2format: $(FSRC) *.h Makefile
- cc $(CFLAGS) -o glam2format $(FSRC) -lm $(LDFLAGS)
+ $(CC) $(CFLAGS) -o glam2format $(FSRC) -lm $(LDFLAGS)
# Command for compiling glam2mask:
glam2mask: $(MSRC) *.h Makefile
- cc $(CFLAGS) -o glam2mask $(MSRC) -lm $(LDFLAGS)
+ $(CC) $(CFLAGS) -o glam2mask $(MSRC) -lm $(LDFLAGS)
# Here follow commands for compiling special versions of the programs
# Compile glam2 including FFT algorithm (requires FFTW to be installed):
glam2fft: $(GSRC) convolve.c *.h Makefile
- cc $(CFLAGS) -DFFT -o glam2fft $(GSRC) convolve.c -lm -lfftw3 $(LDFLAGS)
+ $(CC) $(CFLAGS) -DFFT -o glam2fft $(GSRC) convolve.c -lm -lfftw3 $(LDFLAGS)
# Compile for debugging with gdb or valgrind, with extra compiler warnings:
glam2_d: $(GSRC) *.h Makefile
- cc -Wall -W -pedantic -g -o glam2_d $(GSRC) -lm
+ $(CC) -Wall -W -pedantic -g -o glam2_d $(GSRC) -lm
glam2scan_d: $(SSRC) *.h Makefile
- cc -Wall -W -pedantic -g -o glam2scan_d $(SSRC) -lm
+ $(CC) -Wall -W -pedantic -g -o glam2scan_d $(SSRC) -lm
glam2format_d: $(FSRC) *.h Makefile
- cc -Wall -W -pedantic -g -o glam2format_d $(FSRC) -lm
+ $(CC) -Wall -W -pedantic -g -o glam2format_d $(FSRC) -lm
glam2mask_d: $(MSRC) *.h Makefile
- cc -Wall -W -pedantic -g -o glam2mask_d $(MSRC) -lm
+ $(CC) -Wall -W -pedantic -g -o glam2mask_d $(MSRC) -lm
# Compile for profiling with gprof, with extra compiler warnings:
# Use -O2 to avoid function inlining
glam2_p: $(GSRC) *.h Makefile
- cc -Wall -W -pedantic -O2 -pg -o glam2_p $(GSRC) -lm
+ $(CC) -Wall -W -pedantic -O2 -pg -o glam2_p $(GSRC) -lm
glam2scan_p: $(SSRC) *.h Makefile
- cc -Wall -W -pedantic -O2 -pg -o glam2scan_p $(SSRC) -lm
+ $(CC) -Wall -W -pedantic -O2 -pg -o glam2scan_p $(SSRC) -lm
hardening.patch
change-fixed-compilers.patch
......@@ -12,8 +12,8 @@ export DEB_BUILD_MAINT_OPTIONS=hardening=+all
override_dh_auto_build:
dh_auto_build
make --directory=$(SRCDIR) glam2fft
make --directory=purge
dh_auto_build -B $(SRCDIR) -- glam2fft
dh_auto_build -B purge
override_dh_compress:
dh_compress --exclude=.pdf
......