File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -127,9 +127,7 @@ val compileFlecsNative by tasks.registering(Exec::class) {
127127 archFlag,
128128 " -flto" ,
129129 " -fomit-frame-pointer" ,
130- " -ffunction-sections" ,
131- " -fdata-sections" ,
132- " -Wl,--gc-sections" ,
130+ " -funroll-loops" ,
133131 " -std=c99" ,
134132 " -DFLECS_SHARED" ,
135133 " -DNDEBUG" ,
@@ -145,9 +143,7 @@ val compileFlecsNative by tasks.registering(Exec::class) {
145143 archFlag,
146144 " -flto" ,
147145 " -fomit-frame-pointer" ,
148- " -ffunction-sections" ,
149- " -fdata-sections" ,
150- " -Wl,-dead_strip" ,
146+ " -funroll-loops" ,
151147 " -std=c99" ,
152148 " -DFLECS_SHARED" ,
153149 " -DNDEBUG" ,
@@ -163,10 +159,9 @@ val compileFlecsNative by tasks.registering(Exec::class) {
163159 archFlag,
164160 " -flto" ,
165161 " -fomit-frame-pointer" ,
166- " -ffunction-sections" ,
167- " -fdata-sections" ,
168- " -Wl,--gc-sections" ,
169- " -fvisibility=hidden" ,
162+ " -funroll-loops" ,
163+ " -fno-semantic-interposition" ,
164+ " -fno-plt" ,
170165 " -std=c99" ,
171166 " -DFLECS_SHARED" ,
172167 " -DNDEBUG" ,
You can’t perform that action at this time.
0 commit comments