mirror of
https://github.com/gryf/wmaker.git
synced 2026-03-19 17:23:33 +01:00
configure: add optional --enable-native option to compilation flags
This patch adds an option to enable native CPU optimizations by adding -march=native to the compiler flags, tuning the generated code for the build machine at the expense of portability. In some tests, especially on wrlib I saw 8% perf improvement. Should be used by developers or those who recompile wmaker for their own usage.
This commit is contained in:
committed by
Carlos R. Mafra
parent
77c3b95fd5
commit
95c68fe26d
4
doc/build/Compilation.texi
vendored
4
doc/build/Compilation.texi
vendored
@@ -651,6 +651,10 @@ appropriate requirements and works with this.
|
||||
Despite all this, if you think there's a use for it and feel in the mood to help, do not hesitate to
|
||||
discuss on the mailing list @value{emailsupport} to get it working.
|
||||
|
||||
@item --enable-native
|
||||
Enable native CPU optimizations by adding @option{-march=native} to the compiler flags, tuning the
|
||||
generated code for the build machine at the expense of portability.
|
||||
|
||||
@item --with-web-repo=@i{PATH}
|
||||
Enable generation of HTML documentation to be uploaded to @sc{Window Maker}'s website.
|
||||
The @file{@i{PATH}} is the directory where you have cloned the homepage's repository.
|
||||
|
||||
Reference in New Issue
Block a user