Opened 5 years ago
Closed 3 years ago
#4574 closed defect (fixed)
Enable Link Time Optimizations
Reported by: | komzpa | Owned by: | komzpa |
---|---|---|---|
Priority: | medium | Milestone: | PostGIS 3.3.0 |
Component: | postgis | Version: | master |
Keywords: | Cc: |
Description
-flto flag for compiler and linker enables link time optimization.
Inlines work further, -Werror sees through function calls.
Change History (8)
comment:1 by , 5 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:2 by , 5 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
This broke both Windows (https://winnie.postgis.net:444/job/PostGIS_EDB_Regress_winnie/10076/console) and FreeBSD builds (https://debbie.postgis.net/view/PostGIS/job/PostGIS_Worker_Run/label=bessie/1744/console). Maybe not all platforms are ready to have it on by default.
Also, I think it needs to be added to CXXFLAGS too, since wagyu is built with them.
comment:3 by , 5 years ago
comment:6 by , 4 years ago
Milestone: | PostGIS 3.1.0 → PostGIS Fund Me |
---|
Changelog note removed in https://github.com/postgis/postgis/commit/1ba9345694db6de6e648c10fe7dba2028e67a201#diff-7ee66c4f1536ac84dc5bbff1b8312e2eef24b974b3e48a5c5c2bcfdf2eb8f3ceL121
Pushing to Fund me.
comment:7 by , 3 years ago
Milestone: | PostGIS Fund Me → PostGIS 3.3.0 |
---|
https://github.com/postgis/postgis/commit/0cbdd4d61558320575c6ec9f7e775ed785bdcfee