Commit 71123ea1 authored by Eugene Seliverstov's avatar Eugene Seliverstov

Added ld --as-needed patch. Closes #692307 bug.

parent 3232e620
asn1c (0.9.21.dfsg1-3) unstable; urgency=low
* Fix FTBFS with --as-needed linker option. Thanks to Ilya Barygin for
the report and patch. (closes: #692307).
-- Eugene Seliverstov <theirix@gmail.com> Mon, 05 Nov 2012 14:26:20 +0400
asn1c (0.9.21.dfsg1-2) unstable; urgency=low
* Fixed failed test suite for 32-bit architectures.
......
Description: fix FTBFS with --as-needed linker option
Libraries must be placed after source files in command line.
Bug-Debian: http://bugs.debian.org/692307
Author: Ilya Barygin <randomaction@ubuntu.com>
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/asn1c/tests/check-assembly.sh
+++ b/asn1c/tests/check-assembly.sh
@@ -48,7 +48,7 @@ CC ?= ${CC}
all: check-executable
check-executable: compiled-module *.c*
@rm -f *.core
- \$(CC) \$(CFLAGS) -o check-executable -lm *.c*
+ \$(CC) \$(CFLAGS) -o check-executable *.c* -lm
# Compile the corresponding .asn1 spec.
compiled-module: ${asn_module} ../../asn1c
......@@ -5,3 +5,4 @@
04_nopdf.diff
05_nooverflowtests.diff
06_implicitdecl.diff
07_asneeded.diff
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment