diff options
| author | Sebastian Kemper <sebastian_ml@gmx.net> | 2021-07-06 23:07:56 +0200 |
|---|---|---|
| committer | Daniel Golle <daniel@makrotopia.org> | 2021-07-07 01:12:53 +0100 |
| commit | 9ba7d16a1e09130fa9a6c03f3d050957728f1063 (patch) | |
| tree | a907e9e1df0767f033187c2a04197440d8d0d1e4 /lang/python/python-jsonpath-ng | |
| parent | df446adc24d60a74476c649c6b69521ae019b0ca (diff) | |
postgresql: prevent addition of ARM target flag
configure.in checks for "ARMv8 CRC32C intrinsics" and goes as far as
adding "-march=armv8-a+crc" to the target flags if the compiler allows
it. This can clash with the OpenWrt target flags in
CONFIG_TARGET_OPTIMIZATION. If for example the latter is set to
"-mcpu=cortex-a9" the following warning is issued:
cc1: warning: switch '-mcpu=cortex-a9' conflicts with '-march=armv5t' switch
This commit prevents configure.in from adding the mentioned flag. The
addition is unwanted when cross-compiling.
An issue was raised for this recently, see [1].
[1] https://github.com/openwrt/packages/issues/16034
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Diffstat (limited to 'lang/python/python-jsonpath-ng')
0 files changed, 0 insertions, 0 deletions
