[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #58351] Host system CFLAGS and LDFLAGS should normally be avoided
From: |
Boud Roukema |
Subject: |
[bug #58351] Host system CFLAGS and LDFLAGS should normally be avoided |
Date: |
Mon, 11 May 2020 12:03:32 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0 |
Follow-up Comment #1, bug #58351 (project reproduce):
I see that the following in _configure.sh_ would conflict
with the possibility of totally avoiding the user
environment CFLAGS, CPPFLAGS and LDFLAGs:
2) If you have 'libc.a' and 'sys/cdefs.h', but in a non-standard location
(for
example in '/PATH/TO/STATIC/LIBC/libc.a' and
'/PATH/TO/SYS/CDEFS_H/sys/cdefs.h'), please run the commands below, then
re-configure the project to fix this problem.
$ export LDFLAGS="-L/PATH/TO/STATIC/LIBC \$LDFLAGS"
$ export CPPFLAGS="-I/PATH/TO/SYS/CDEFS_H \$LDFLAGS"
Any systematic solution needs to handle both users following this instruction
and those who have some other CFLAGS, CPPFLAGS, LDFLAGS values that could
potentially conflict with maneage.
_______________________________________________________
Reply to this item at:
<https://savannah.nongnu.org/bugs/?58351>
_______________________________________________
Message sent via Savannah
https://savannah.nongnu.org/