Bruce Dubbs wrote:
Pierre Bechetoille wrote:


I installed it and successfully compiled firefox 47.0 with:
CFLAGS+=" -fno-delete-null-pointer-checks -fno-lifetime-dse
-fno-schedule-insns2" CXXFLAGS+=" -fno-delete-null-pointer-checks
-fno-lifetime-dse -fno-schedule-insns2" CXX='g++ -std=c++11' make -f
client.mk

I'm not sure the syntax CFLAGS+="..." is valid.  It is appropriate inside
a Makefile, but not as an environment variable.

That said, I did

export CFLAGS="..."
export CXXFLAGS=$CFLAGS

and it looks like it is being picked up properly.  I am trying without the
-std=c++11' option.

 From the log a typical build looks like:

c++ ... -fno-delete-null-pointer-checks -fno-lifetime-dse
-fno-schedule-insns2 -fno-exceptions -fno-strict-aliasing -fno-rtti
-fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe  -g
-freorder-blocks -Os -fomit-frame-pointer ...

I am not using any patches.

As of right now it is building.  I'll reply again after it finishes and I
can test.

OK, I built with:

export CXXFLAGS=' -fno-delete-null-pointer-checks -fno-lifetime-dse -fno-schedule-insns2'
export CFLAGS=$CXXFLAGS
make -f client.mk
...

And it seems to work fine. I brought up FF over ssh and opened two tabs, both youtube. I was able to play both (not at the same time, didn't try), switch between them, full screen and back, stop/restart, mute/unmute, Help->About, etc. No problems.

I don't know what the patches are supposed to do, but so far I don't need them.

  -- Bruce



--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to