mirror of
https://github.com/linuxmint/timeshift.git
synced 2024-08-16 20:10:39 +03:00
Use -Os for compilation instead of -O3
-O3 seems to be buggy and can sometime generate incorrect code
This commit is contained in:
parent
b481c2e532
commit
1fd2f2df0c
4
src/makefile
Normal file → Executable file
4
src/makefile
Normal file → Executable file
@ -51,7 +51,7 @@ app-gtk:
|
||||
|
||||
#timeshift-gtk
|
||||
valac -X -D'GETTEXT_PACKAGE="${app_name}"' \
|
||||
--Xcc="-lm" --Xcc="-O3" ${symbols} \
|
||||
--Xcc="-lm" --Xcc="-Os" ${symbols} \
|
||||
Core/*.vala Gtk/*.vala Utility/*.vala Utility/Gtk/*.vala \
|
||||
-o ${app_name}-gtk \
|
||||
--pkg glib-2.0 --pkg gio-unix-2.0 --pkg posix \
|
||||
@ -62,7 +62,7 @@ app-console:
|
||||
|
||||
#timeshift
|
||||
valac -X -D'GETTEXT_PACKAGE="${app_name}"' \
|
||||
--Xcc="-lm" --Xcc="-O3" ${symbols} \
|
||||
--Xcc="-lm" --Xcc="-Os" ${symbols} \
|
||||
Core/*.vala Utility/*.vala Utility/Gtk/*.vala Console/*.vala \
|
||||
-o ${app_name} \
|
||||
--pkg glib-2.0 --pkg gio-unix-2.0 --pkg posix \
|
||||
|
Loading…
Reference in New Issue
Block a user