flightgear: build style cmake handles -isystem
This commit is contained in:
parent
17b97f5fd4
commit
ec09669b96
@ -35,14 +35,6 @@ fi
|
||||
# Suppress warnings regarding auto_ptr
|
||||
CXXFLAGS="-Wno-deprecated-declarations"
|
||||
|
||||
post_configure() {
|
||||
if [ -n "$CROSS_BUILD" ]; then
|
||||
# Remove "-isystem ${XBPS_CROSS_BASE}/usr/include" from Makefiles
|
||||
find ${wrksrc}/build -iname flags.make -exec sed -i "{}" \
|
||||
-e "s;-isystem ${XBPS_CROSS_BASE}/usr/include ; ;g" \;
|
||||
fi
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vinstall package/flightgear.desktop 644 usr/share/applications
|
||||
vinstall package/flightgear.ico 644 usr/share/icons
|
||||
|
Loading…
Reference in New Issue
Block a user