You are not logged in.

#1 2009-12-13 07:00:41

mauz
Member
From: Medellín, Antioquia, COLOMBIA.
Registered: 2005-02-19
Posts: 31
Website

unset CFLAGS in firefox

Hi comrades.
My cuestion is why the PKGBUILD of firefox have unset CFLASG and CXXFLAGS,
I want to compile with the optimizations of Dual Core 2.





unset CFLAGS
  unset CXXFLAGS

  export LDFLAGS="-Wl,-rpath,/usr/lib/firefox-3.5"

  make -j1 -f client.mk build MOZ_MAKE_FLAGS="${MAKEFLAGS}" || return 1
  make -j1 DESTDIR="${pkgdir}" install || return 1

Thanx

Offline

#2 2009-12-13 07:04:05

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,365
Website

Re: unset CFLAGS in firefox

Because firefox sets quite good optimization itself and excess optimization tends to cause issues.

Offline

#3 2009-12-13 07:11:14

mauz
Member
From: Medellín, Antioquia, COLOMBIA.
Registered: 2005-02-19
Posts: 31
Website

Re: unset CFLAGS in firefox

Allan which pakages do you suggest me to compile to optimize my system with Core 2

Last edited by mauz (2009-12-13 07:11:37)

Offline

#4 2009-12-13 07:40:35

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,365
Website

Re: unset CFLAGS in firefox

i686 or x86_64?   

Not that it really matters....   I would recompile the kernel and that is about it.

Edit: maybe mplayer/mencoder if you encode video.

Offline

#5 2009-12-13 07:44:15

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: unset CFLAGS in firefox

You might be interested in firefox-pgo (in AUR).

Offline

Board footer

Powered by FluxBB