Commit graph

6 commits

Author SHA1 Message Date
Jürgen Buchmüller
8679124272 build-style cmake: replace -isystem with -I
Many packages depending on Qt5 or Qt4 and built with cmake
generate "flags.make" files with -isystem for include paths.
With gcc6 this results in e.g. "#include_next <stdlib.h>" giving
an error, because a -isystem /usr/include is in the wrong place.
The simple fix is to replace "-isystem" with just "-I".
2017-01-15 02:50:14 +01:00
Alessio Sergi
2c02e09892 build-style/cmake: do not use absolute path in CMAKE_INSTALL_{LIB,SBIN}DIR
...otherwise it ends up with /usr/usr/lib or /usr/usr/bin.

Partially revert PR #4230.
2016-06-26 01:01:26 +02:00
yopito
441da1c388 build-style/cmake.sh: allow templates to override cmake variables and use absolute paths (#4230) 2016-05-26 07:33:58 +02:00
beefcurtains
e30ccdc3ea build-style/cmake.sh: allow build subdirectory 2015-06-29 14:29:46 +00:00
Juan RP
1f0294fb72 build-style/cmake: sbin -> bin. 2015-06-02 18:01:12 +02:00
Juan RP
df4c861f97 xbps-src: common/{,environment}/build_style -> common/${,environment}/build-style. 2015-02-21 12:13:07 +01:00
Renamed from common/build_style/cmake.sh (Browse further)