Commit Graph

14 Commits

Author SHA1 Message Date
Oliver Smith 5324a22f02 contrib: remove rpm spec file
Related: OS#6446
Change-Id: I320f56a3d60143c0da1b7d8dc8e206f0d5b0210e
2024-05-08 14:45:50 +02:00
Eric Wild 3bbf20f17c fix libtool issue with clang and sanitizer
As pointed out at
libtool does not play nice with clang sanitizer builds at all. For those
builds LD shoud be set to clang too (and LDFLAGS needs the sanitizer
flags as well), because the clang compiler driver knows how linking to
the sanitizer libs works, but then at a later stage libtool fails to
actually produce the shared libraries and the build fails. This is fixed
by this patch.

Addtionally LD_LIBRARY_PATH has no effect on conftest runs during
configure time, so the rpath needs to be set to the asan library path to
ensure the configure run does not fail due to a missing asan library,

SANS='-fsanitize=memory -fsanitize-recover=all -shared-libsan' export
CC=clang-10 ASANPATH=$(dirname `$CC`) export

Change-Id: Ie38fa9985187c76b4e456d8b0a83006ef341b97e
2022-05-23 23:57:56 +02:00
Oliver Smith 4241320034 contrib: integrate RPM spec
Remove OpenSUSE bug report link, set version to @VERSION@, make it build with CentOS 8 etc.

Related: OS#4550
Change-Id: Ic075dd5a53cc76cf1b6aeca5c31db495882db915
2020-05-19 15:21:17 +02:00
Pau Espin 42b18e2bb8 Use git-version-gen to set VERSION
We updated to 0.9.29 tag, but was locked to 0.9.28, which
means release 0.9.29 is going to generated an old version and thus is
broken. A new release will follow this commit.

Change-Id: I8e1665f21d1bc76922423cabad3df72a2502f559
2018-05-03 18:21:05 +02:00
Pau Espin 96ef99e700 build: Support make release target
Change-Id: I04b9ff47f55df0e19d8e93530fb6ccf8bdb0660b
2018-05-03 17:15:26 +02:00
Neels Hofmeyr 6e152f2582 configure: add --enable-werror
Provide a sane means of adding the -Werror compiler flag.

Currently, some of our add -Werror by passing 'CFLAGS="-Werror"',
but that actually *overwrites* all the other CFLAGS we might want to have set.

Maintain these exceptions from -Werror:
a) deprecation (allow upstream to mark deprecation without breaking builds);
b) "#warning" pragmas (allow to remind ourselves of errors without breaking

As a last configure step before generating the output files, print the complete

Change-Id: Ibcc8238584a585434b39a046cd2d7e18ddaf7f8c
2018-03-05 20:40:21 +01:00
Neels Hofmeyr bd2173796d add --enable-sanitize config option
Change-Id: I8f641c4bce361dcef5d8c149b8b81b21f12cbadf
2017-11-17 02:05:32 +01:00
Holger Hans Peter Freyther f3c3049e75 misc: Replace libosmocore with talloc
The libosmocore depedency is used for talloc and OSMO_ASSERT.
Reduce the depedencies by using libtalloc directly and replace
the ASSERT with a local one (without backtrace support).
2016-04-05 16:43:39 +02:00
Harald Welte a37b06d735 add '--enable-debug' configure option to build with EMIT_ASN_DEBUG
... which in turn causes all the ASN_DEBUG() to be turned into
fprintf(stderr, ...) statements, once the user application decides
to set 'asn_debug = 1' somewhere in its code.

The next step would be to make _ASN_DECODE_FAILED / _ASN_ENCODE_FAILED
no longer depend on ASN_DEBUG (which it currently does)
2015-12-18 15:38:42 +01:00
Harald Welte 41b85d5597 update to asn1c aper branch commit 6e00cbce7304a6972e82a12bb5fa82e41fa541be
which is closes to Lev Walkins master 62913d8b8e1eb96d74315ff748475ca818b69752
2015-08-31 09:35:13 +02:00
Harald Welte f6b9173b02 fix autoconf/automake warnings 2015-08-31 09:25:52 +02:00
Harald Welte fa034009a1 Convert libasn1c to use talloc from libosmocore 2010-07-20 00:05:07 +02:00
Harald Welte 98cb83615d move header files to 'include' directory and install them 2010-06-12 19:15:51 +02:00
Harald Welte bdff5e6309 Add autotools/pkgconfig magic 2010-06-12 19:05:23 +02:00