ldc-developers / ldc2.snap

Snap package definition for LDC, the LLVM-based D compiler
11 stars 4 forks source link

Update ldc2.conf to provide post-switches and rpath #54

Closed WebDrake closed 6 years ago

WebDrake commented 6 years ago

This brings the packaged ldc2.conf in line with the upstream 1.9 builds.

WebDrake commented 6 years ago

Cool. I'll apply that in a follow-up patch.

WebDrake commented 6 years ago

FWIW, you can use -DLIB_SUFFIX={32,64} in the CMake command line

Did you mean that literally? I ask because it doesn't seem to be working if I use it as such. Should it be set depending on the host architecture?

kinke commented 6 years ago

Depending on the host arch - 32 for i686, 64 for x86_64.