aboutsummaryrefslogtreecommitdiffstats
path: root/libosmogb.pc.in
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2012-09-07 12:01:28 +0200
committerHarald Welte <laforge@gnumonks.org>2012-09-07 12:01:28 +0200
commitca0af8a3a862d5189915c02c2bc85461a3b33415 (patch)
tree7b48cbbb1ad675ce5038f7fe13b26f211a0f96e3 /libosmogb.pc.in
parenta102b63c281458c1763dfe1efeab33f00bf1b374 (diff)
libosmogb: build without strict aliasing rules
This allows us to reliably do the trick with casting structures like libgb_msgb_cb to the msgb->cb[] array. Shamelessly stolen from the Linux kernel.
Diffstat (limited to 'libosmogb.pc.in')
-rw-r--r--libosmogb.pc.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/libosmogb.pc.in b/libosmogb.pc.in
index 4fc25472..33cacaf6 100644
--- a/libosmogb.pc.in
+++ b/libosmogb.pc.in
@@ -7,5 +7,5 @@ Name: Osmocom GPRS Gb Library
Description: Osmocom GPRS Gb Interface (NS/BSSGP) Library
Version: @VERSION@
Libs: -L${libdir} -losmogb -losmovty
-Cflags: -I${includedir}/
+Cflags: -I${includedir}/ -fno-strict-aliasing