vendredi 18 avril 2014

How to force configure script to generate release makefile


Vote count:

0




While compiling some libraries (spatialite 3.0.1, geos 3.3.3 and others) I've noticed that running ./configure results in a makefile that contains lines like this



CFLAGS = -g -O2
CXXFLAGS = -g -O2


That means that debug symbol generation is enabled by default. What I want is to disable debug compiling mode without manual makefile editing. I've ran ./configure --help for both of libraries mentioned above, but I haven't noticed any option to get desired result. I feel that the solution should be very simple, but I'm stuck on this since I'm not very familiar with building software from sources.


OS: Linux Red Hat Enterprise 6



asked 20 secs ago






Aucun commentaire:

Enregistrer un commentaire