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 <> 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.
Author: Ilya Barygin <>
This patch header follows DEP-3:
--- a/asn1c/tests/
+++ b/asn1c/tests/
@@ -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 @@
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