| Summary: | patch for tdelibs not compiling on FreeBSD 10.1 with -DHAVE_PIE_SUPPORT=ON | ||
|---|---|---|---|
| Product: | TDE | Reporter: | Nikolaus Klepp <office> |
| Component: | tdelibs | Assignee: | Timothy Pearson <kb9vqf> |
| Status: | RESOLVED INVALID | ||
| Severity: | blocker | CC: | bugwatch, office, slavek.banko |
| Priority: | P5 | ||
| Version: | R14.0.1 [Trinity] | ||
| Hardware: | All | ||
| OS: | Other | ||
| Compiler Version: | TDE Version String: | ||
| Application Version: | Application Name: | ||
| Attachments: | makes -DHAVE_PIE_SUPPORT=ON working | ||
As I stated earlier, HAVE_PIE_SUPPORT is not an option, which would be set as a configuration parameter for CMake. It is determined automatically by the compiler options. In any case, on my test machine I have successfully built tdelibs, tdebase and tdepim! I will write to you later on mail. Sorry, the patch fixes only a bug in my build setup :-( |
Created attachment 2520 [details] makes -DHAVE_PIE_SUPPORT=ON working Simple patch to make tdelibs compile on FreeBSD 10.1 with _DHAVE_PIE_SUPPORT=ON.It changes : TDE_PIE_CFLAGS -fPIE --> TDE_PIE_CFLAGS -fPIC TDE_PIE_LDFLAGS -pie --> TDE_PIE_CFLAGS -pie -shared $ cd <path-to-TDE-sources>/main $ patch -p2 < tdelibs-freebsd.patch