mirror of
https://github.com/Ponce/slackbuilds
synced 2024-12-05 00:55:44 +01:00
be2b11e1db
Early x86_64 cpu's did not have the lahf instruction. Unfortunately, Adobe wrote their flash using this instruction. Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
7 lines
368 B
Text
7 lines
368 B
Text
Simple work-around for running the 64-bit Adobe Flash plug-in version 10
|
|
on Athlon64 processors without support for the lahf instruction.
|
|
|
|
Compile with:
|
|
cc -fPIC -shared -nostdlib -lc -oflashplugin-lahf-fix.so flashplugin-lahf-fix.c
|
|
Then place the .so file in the plug-in directory (e.g. $HOME/.mozilla/plugins)
|
|
or use LD_PRELOAD to force Firefox to load the library.
|