mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
package/postgresql: add cflags_sl option to pg_config
Some external packages call pg_config to determine the installed PostgreSQL cflags_sl option. Add this output to Buildroots own pg_config, so these packages correctly compile. Default value is defined at src/template/linux as: Extra CFLAGS for code that will go into a shared library CFLAGS_SL="-fPIC" Signed-off-by: Maxim Kochetkov <fido_max@inbox.ru> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
8d1a72866a
commit
ed4cfbb773
@@ -31,6 +31,10 @@ case "$1" in
|
|||||||
--cflags)
|
--cflags)
|
||||||
echo "@TARGET_CFLAGS@"
|
echo "@TARGET_CFLAGS@"
|
||||||
;;
|
;;
|
||||||
|
--cflags_sl)
|
||||||
|
# defined at src/template/linux
|
||||||
|
echo "-fPIC"
|
||||||
|
;;
|
||||||
--cc)
|
--cc)
|
||||||
echo "@TARGET_CC@"
|
echo "@TARGET_CC@"
|
||||||
;;
|
;;
|
||||||
|
|||||||
Reference in New Issue
Block a user