Correction librtaputil + -O dans makefiles
M loc-bts/code/librtaputil/librtaputil.c : variable inutilisée. M Tous les Makefiles : ajout de l'option d'optimisation (-O) dans les CFLAGS. git-svn-id: https://pif.pu-pm.univ-fcomte.fr/svn/loc@13 785a6c6c-259e-4ff1-8b91-dc31627914f0
This commit is contained in:
parent
55350b38cd
commit
9fd568c817
|
@ -17,7 +17,7 @@ TARGET=apd
|
|||
HEADER=ap.h
|
||||
|
||||
# Flags
|
||||
CFLAGS=-O2 -W -Wall -Wstrict-prototypes -I.
|
||||
CFLAGS=-O2 -W -Wall -Wstrict-prototypes -O -I.
|
||||
DEPFLAGS=-MMD
|
||||
XCFLAGS=$(CFLAGS) $(DEPFLAGS) $(WARN) $(HEADERS)
|
||||
PICFLAG=-fPIC
|
||||
|
|
|
@ -17,7 +17,7 @@ TARGET=locclient
|
|||
HEADER=
|
||||
|
||||
# Flags
|
||||
CFLAGS=-O2 -W -Wall -Wstrict-prototypes -I.
|
||||
CFLAGS=-O2 -W -Wall -Wstrict-prototypes -O -I.
|
||||
DEPFLAGS=-MMD
|
||||
XCFLAGS=$(CFLAGS) $(DEPFLAGS) $(WARN) $(HEADERS)
|
||||
PICFLAG=-fPIC
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
# Répertoire d'installation
|
||||
PREFIX=/usr/local
|
||||
INSTALL_DIR= $(PREFIX)/sbin
|
||||
INSTALL_LIB= $(PREFIX)/lib
|
||||
INSTALL_INC= $(PREFIX)/include
|
||||
INSTALL_MAN= $(PREFIX)/share/man
|
||||
|
@ -31,7 +30,7 @@ HEADER=rtaputil.h
|
|||
OBJS=$(LIB_CIBLE).o
|
||||
|
||||
# Flags
|
||||
CFLAGS=-O2 -W -Wall -Wstrict-prototypes -I.
|
||||
CFLAGS=-O2 -W -Wall -Wstrict-prototypes -O -I.
|
||||
DEPFLAGS=-MMD
|
||||
XCFLAGS=$(CFLAGS) $(DEPFLAGS) $(WARN) $(HEADERS)
|
||||
PICFLAG=-fPIC
|
||||
|
|
|
@ -122,7 +122,6 @@ BOOL mac_cmp(unsigned char *mac1, unsigned char *mac2)
|
|||
int create_udp_sending_socket(char *server_address, int server_port, struct sockaddr_in *server_description, struct sockaddr_in * client_description)
|
||||
{
|
||||
int sockfd ; // Descripteur de la socket
|
||||
int ret = 0 ; // Valeur de retour
|
||||
|
||||
/* Ceation de la socket UDP */
|
||||
sockfd = socket(AF_INET, SOCK_DGRAM, 0) ;
|
||||
|
|
|
@ -17,7 +17,7 @@ TARGET=rtapaggregated
|
|||
HEADER=rtapaggregate.h
|
||||
|
||||
# Flags
|
||||
CFLAGS=-O2 -W -Wall -Wstrict-prototypes -I.
|
||||
CFLAGS=-O2 -W -Wall -Wstrict-prototypes -O -I.
|
||||
DEPFLAGS=-MMD
|
||||
XCFLAGS=$(CFLAGS) $(DEPFLAGS) $(WARN) $(HEADERS)
|
||||
PICFLAG=-fPIC
|
||||
|
|
Loading…
Reference in New Issue