amd64 arch and sse optimization

Jaromír Mikeš mira.mikes at gmail.com
Sun Feb 2 13:31:36 UTC 2014


Hi all,

I would like to add sse optimization for amd64 arch in some packages
(mostly LV2 nad LADSPA plugins).
I found that something like this works fine for me:

ifeq ($(DEB_HOST_ARCH_CPU),amd64)
CFLAGS += -msse -msse2 -mfpmath=sse
endif

Is it right way to use CFLAGS to add optimization flags?
Which flags could be safely added for amd64?

best regards

mira
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20140202/f3fc232e/attachment.html>


More information about the pkg-multimedia-maintainers mailing list