mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-26 11:33:47 +03:00
GCC 4.3 makes Linux/MySQL shared objects smaller
This commit is contained in:
parent
12090a86bc
commit
06bb369da5
|
@ -4,6 +4,6 @@ LIBDIR=/usr/lib
|
||||||
#LIBDIR=/usr/lib/mysql/plugin
|
#LIBDIR=/usr/lib/mysql/plugin
|
||||||
|
|
||||||
install:
|
install:
|
||||||
gcc -Wall -I/usr/include/mysql -Os -shared lib_mysqludf_sys.c -o lib_mysqludf_sys.so
|
gcc-4.3 -Wall -I/usr/include/mysql -Os -shared lib_mysqludf_sys.c -o lib_mysqludf_sys.so
|
||||||
strip -sx lib_mysqludf_sys.so
|
strip -sx lib_mysqludf_sys.so
|
||||||
cp -f lib_mysqludf_sys.so $(LIBDIR)/lib_mysqludf_sys.so
|
cp -f lib_mysqludf_sys.so $(LIBDIR)/lib_mysqludf_sys.so
|
||||||
|
|
|
@ -4,6 +4,6 @@ LIBDIR=/usr/lib
|
||||||
#LIBDIR=/usr/lib/mysql/plugin
|
#LIBDIR=/usr/lib/mysql/plugin
|
||||||
|
|
||||||
install:
|
install:
|
||||||
gcc-4.2 -Wall -I/usr/include/mysql -Os -shared lib_mysqludf_sys.c -fPIC -o lib_mysqludf_sys.so
|
gcc-4.3 -Wall -I/usr/include/mysql -Os -shared lib_mysqludf_sys.c -fPIC -o lib_mysqludf_sys.so
|
||||||
strip -sx lib_mysqludf_sys.so
|
strip -sx lib_mysqludf_sys.so
|
||||||
cp -f lib_mysqludf_sys.so $(LIBDIR)/lib_mysqludf_sys.so
|
cp -f lib_mysqludf_sys.so $(LIBDIR)/lib_mysqludf_sys.so
|
||||||
|
|
Loading…
Reference in New Issue
Block a user