mirror of
				https://github.com/3proxy/3proxy.git
				synced 2025-11-04 07:42:39 +08:00 
			
		
		
		
	Build binaries in bin folder
This commit is contained in:
		
							parent
							
								
									93e410cd7a
								
							
						
					
					
						commit
						db485dd4c4
					
				@ -7,7 +7,7 @@
 | 
				
			|||||||
# remove -DNOODBC from CFLAGS and add -lodbc to LDFLAGS to compile with ODBC
 | 
					# remove -DNOODBC from CFLAGS and add -lodbc to LDFLAGS to compile with ODBC
 | 
				
			||||||
# library support. Add -DSAFESQL for poorely written ODBC library / drivers.
 | 
					# library support. Add -DSAFESQL for poorely written ODBC library / drivers.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
BUILDDIR =
 | 
					BUILDDIR = ../bin/
 | 
				
			||||||
CC ?= gcc
 | 
					CC ?= gcc
 | 
				
			||||||
 | 
					
 | 
				
			||||||
CFLAGS = -c -O -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL
 | 
					CFLAGS = -c -O -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL
 | 
				
			||||||
 | 
				
			|||||||
@ -7,7 +7,7 @@
 | 
				
			|||||||
# remove -DNOODBC from CFLAGS and add -lodbc to LDFLAGS to compile with ODBC
 | 
					# remove -DNOODBC from CFLAGS and add -lodbc to LDFLAGS to compile with ODBC
 | 
				
			||||||
# library support. Add -DSAFESQL for poorely written ODBC library / drivers.
 | 
					# library support. Add -DSAFESQL for poorely written ODBC library / drivers.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
BUILDDIR =
 | 
					BUILDDIR = ../bin/
 | 
				
			||||||
CC = cc
 | 
					CC = cc
 | 
				
			||||||
CFLAGS = -xO3 -c -D_SOLARIS -D_THREAD_SAFE -DGETHOSTBYNAME_R -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL
 | 
					CFLAGS = -xO3 -c -D_SOLARIS -D_THREAD_SAFE -DGETHOSTBYNAME_R -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL
 | 
				
			||||||
COUT = -o ./
 | 
					COUT = -o ./
 | 
				
			||||||
 | 
				
			|||||||
@ -8,7 +8,7 @@
 | 
				
			|||||||
# library support. Add -DSAFESQL for poorely written ODBC library / drivers.
 | 
					# library support. Add -DSAFESQL for poorely written ODBC library / drivers.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
BUILDDIR =
 | 
					BUILDDIR = ../bin/
 | 
				
			||||||
CC = gcc
 | 
					CC = gcc
 | 
				
			||||||
CFLAGS = -O2 -fno-strict-aliasing -c -D_SOLARIS -D_THREAD_SAFE -DGETHOSTBYNAME_R -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL
 | 
					CFLAGS = -O2 -fno-strict-aliasing -c -D_SOLARIS -D_THREAD_SAFE -DGETHOSTBYNAME_R -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL
 | 
				
			||||||
COUT = -o ./
 | 
					COUT = -o ./
 | 
				
			||||||
 | 
				
			|||||||
@ -7,7 +7,7 @@
 | 
				
			|||||||
# remove -DNOODBC from CFLAGS and add -lodbc to LIBS to compile with ODBC
 | 
					# remove -DNOODBC from CFLAGS and add -lodbc to LIBS to compile with ODBC
 | 
				
			||||||
# library support. Add -DSAFESQL for poorely written ODBC library / drivers.
 | 
					# library support. Add -DSAFESQL for poorely written ODBC library / drivers.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
BUILDDIR =
 | 
					BUILDDIR = ../bin/
 | 
				
			||||||
CC = mips-openwrt-linux-gcc
 | 
					CC = mips-openwrt-linux-gcc
 | 
				
			||||||
 | 
					
 | 
				
			||||||
CFLAGS = -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL -DWITH_NETFILTER
 | 
					CFLAGS = -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL -DWITH_NETFILTER
 | 
				
			||||||
 | 
				
			|||||||
@ -7,7 +7,7 @@
 | 
				
			|||||||
# remove -DNOODBC from CFLAGS and add -lodbc to LDFLAGS to compile with ODBC
 | 
					# remove -DNOODBC from CFLAGS and add -lodbc to LDFLAGS to compile with ODBC
 | 
				
			||||||
# library support. Add -DSAFESQL for poorely written ODBC library / drivers.
 | 
					# library support. Add -DSAFESQL for poorely written ODBC library / drivers.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
BUILDDIR =
 | 
					BUILDDIR = ../bin/
 | 
				
			||||||
CC = gcc
 | 
					CC = gcc
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# you may need -L/usr/pkg/lib for older NetBSD versions
 | 
					# you may need -L/usr/pkg/lib for older NetBSD versions
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user