diff options
author | 2015-12-21 19:09:39 +0100 | |
---|---|---|
committer | 2015-12-21 19:10:49 +0100 | |
commit | 03c041dd30315125b72699a90085718ebdc13248 (patch) | |
tree | d83e1c0df204e82c8da2c16ca88abdfd5725c667 /swaygrab | |
parent | use CMake's FindBacktrace for backtrace feature detection (diff) | |
download | sway-03c041dd30315125b72699a90085718ebdc13248.tar.gz sway-03c041dd30315125b72699a90085718ebdc13248.tar.zst sway-03c041dd30315125b72699a90085718ebdc13248.zip |
add -fPIC flag (position independent code) like in wlc
Linking fails otherwise:
Linking C executable ../bin/sway
/usr/bin/ld: CMakeFiles/sway.dir/commands.c.o: relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC
CMakeFiles/sway.dir/commands.c.o: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
sway/CMakeFiles/sway.dir/build.make:442: recipe for target 'bin/sway' failed
Diffstat (limited to 'swaygrab')
0 files changed, 0 insertions, 0 deletions