Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2:ARM
lpsolve
lpsolve-pic.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File lpsolve-pic.diff of Package lpsolve
--- Makefile.Linux | 6 +++--- Makefile.msc | 2 +- lpsolve55/ccc | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) Index: lp_solve_5.5/Makefile.Linux =================================================================== --- lp_solve_5.5.orig/Makefile.Linux +++ lp_solve_5.5/Makefile.Linux @@ -21,8 +21,8 @@ DEBUG = -O2 DEFINE = -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine # Uncomment any of the following two depending on how easily compiler messages scare you -#CFLAGS= $(INCLUDE) $(DEBUG) $(DEFINE) -fpic -Wall -pedantic -trigraphs -CFLAGS= $(INCLUDE) $(DEBUG) $(DEFINE) -fpic +#CFLAGS= $(INCLUDE) $(DEBUG) $(DEFINE) -fPIC -Wall -pedantic -trigraphs +CFLAGS= $(INCLUDE) $(DEBUG) $(DEFINE) -fPIC LFLAGS = -L -l YFLAGS = --no-lines -y @@ -76,7 +76,7 @@ liblpsolve55.a: $(OBJECTS) ranlib lpsolve55/$@ liblpsolve55.so: $(OBJECTS) - $(CC) -fpic -shared -Wl,-Bsymbolic -Wl,-soname,$@ -o lpsolve55/$@ `echo $(SRC)|sed 's/[.]c/.o/g'` $(LDFLAGS) + $(CC) -fPIC -shared -Wl,-Bsymbolic -Wl,-soname,$@ -o lpsolve55/$@ `echo $(SRC)|sed 's/[.]c/.o/g'` $(LDFLAGS) clean: rm -f $(OBJECTS) *.so *.a lp_solve/lp_solve demo/demo lpsolve55/*.so lpsolve55/*.a Index: lp_solve_5.5/Makefile.msc =================================================================== --- lp_solve_5.5.orig/Makefile.msc +++ lp_solve_5.5/Makefile.msc @@ -82,7 +82,7 @@ liblpsolve55.lib: $(OBJECTS) $(LIB) *.obj /OUT:lpsolve55/$@ lpsolve55.dll: $(OBJECTS) - $(CC) -fpic -shared -Wl,-Bsymbolic -Wl,-soname,$@ -o lpsolve55/$@ `echo $(SRC)|sed 's/[.]c/.obj/g'` $(LDFLAGS) + $(CC) -fPIC -shared -Wl,-Bsymbolic -Wl,-soname,$@ -o lpsolve55/$@ `echo $(SRC)|sed 's/[.]c/.obj/g'` $(LDFLAGS) clean: rm -f $(OBJECTS) *.lib *.dll lp_solve/lp_solve.exe demo/demo.exe lpsolve55/*.dll lpsolve55/*.lib Index: lp_solve_5.5/lpsolve55/ccc =================================================================== --- lp_solve_5.5.orig/lpsolve55/ccc +++ lp_solve_5.5/lpsolve55/ccc @@ -18,7 +18,7 @@ ranlib liblpsolve55.a if [ "$so" != "" ] then - $c -fpic -s -c -I.. -I../shared -I../bfp -I../bfp/bfp_LUSOL -I../bfp/bfp_LUSOL/LUSOL -I../colamd -I. $opts -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine $src + $c -fPIC -s -c -I.. -I../shared -I../bfp -I../bfp/bfp_LUSOL -I../bfp/bfp_LUSOL/LUSOL -I../colamd -I. $opts -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine $src $c -shared -Wl,-Bsymbolic -Wl,-soname,liblpsolve55.so -o liblpsolve55.so `echo $src|sed s/[.]c/.o/g|sed 's/[^ ]*\///g'` -lc -lm -ldl fi
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor