Author: mturk
Date: Thu Oct 21 06:17:47 2010
New Revision: 1025844

URL: http://svn.apache.org/viewvc?rev=1025844&view=rev
Log:
Add few optional build flags hints

Modified:
    commons/proper/daemon/trunk/src/native/unix/INSTALL.txt
    commons/proper/daemon/trunk/src/native/unix/native/Makefile.in

Modified: commons/proper/daemon/trunk/src/native/unix/INSTALL.txt
URL: 
http://svn.apache.org/viewvc/commons/proper/daemon/trunk/src/native/unix/INSTALL.txt?rev=1025844&r1=1025843&r2=1025844&view=diff
==============================================================================
--- commons/proper/daemon/trunk/src/native/unix/INSTALL.txt (original)
+++ commons/proper/daemon/trunk/src/native/unix/INSTALL.txt Thu Oct 21 06:17:47 
2010
@@ -67,3 +67,13 @@ the fat binaries enter the specific para
    ./configure
    make
 
+Optional Build flags
+
+Make process allows specifying additional compilation flags at compile time
+by using EXTRA_CFLAGS and EXTRA_LDFLAGS either as environment variables
+or defined along the make command line
+
+    make EXTRA_CFLAGS="-march=i586"
+
+will cause -march=i586 to be added to the configure generated CFLAGS.
+The same applies to EXTRA_LDFLAGS which will be added at link stage.

Modified: commons/proper/daemon/trunk/src/native/unix/native/Makefile.in
URL: 
http://svn.apache.org/viewvc/commons/proper/daemon/trunk/src/native/unix/native/Makefile.in?rev=1025844&r1=1025843&r2=1025844&view=diff
==============================================================================
--- commons/proper/daemon/trunk/src/native/unix/native/Makefile.in (original)
+++ commons/proper/daemon/trunk/src/native/unix/native/Makefile.in Thu Oct 21 
06:17:47 2010
@@ -38,7 +38,7 @@ libservice.a: $(OBJS)
        $(RANLIB) libservice.a
 
 jsvc: jsvc-unix.o libservice.a
-       $(LDCMD) $(LDFLAGS) jsvc-unix.o libservice.a $(LIBS) -o ../jsvc
+       $(LDCMD) $(LDFLAGS) $(EXTRA_LDFLAGS) jsvc-unix.o libservice.a $(LIBS) 
-o ../jsvc
        $(STRIP) ../jsvc
 
 clean:


Reply via email to