mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-24 13:55:36 +03:00
fixed up for gcc-4.1
This commit is contained in:
parent
3878c7492a
commit
a7fcf76244
@ -3,9 +3,9 @@
|
||||
|
||||
### EDIT BELOW FOR OTHER PROJECTS ###
|
||||
|
||||
OPT_FLAGS = -O3 -funroll-loops -s -pipe
|
||||
OPT_FLAGS = -g -ggdb3 #-O3 -funroll-loops -s -pipe -fno-strict-aliasing
|
||||
DEBUG_FLAGS = -g -ggdb3
|
||||
CPP = gcc
|
||||
CPP = gcc-4.1
|
||||
BINARY = amxxpc
|
||||
|
||||
OBJECTS = amx.cpp amxxpc.cpp Binary.cpp
|
||||
|
Binary file not shown.
@ -3,9 +3,9 @@
|
||||
|
||||
### EDIT BELOW FOR OTHER PROJECTS ###
|
||||
|
||||
OPT_FLAGS = -O3 -funroll-loops -s -pipe
|
||||
OPT_FLAGS = -O3 -funroll-loops -s -pipe -fno-strict-aliasing -fvisibility=hidden
|
||||
DEBUG_FLAGS = -g -ggdb3
|
||||
CPP = gcc
|
||||
CPP = gcc-4.1
|
||||
NAME = amxxpc
|
||||
|
||||
OBJECTS = sc1.c sc2.c sc3.c sc4.c sc5.c sc6.c sc7.c scvars.c scmemfil.c \
|
||||
|
@ -52,7 +52,7 @@
|
||||
__declspec (dllexport)
|
||||
void EXCOMPILER(int argc, char **argv)
|
||||
# else
|
||||
void extern EXCOMPILER(int argc, char **argv)
|
||||
void extern __attribute__((visibility("default"))) EXCOMPILER(int argc, char **argv)
|
||||
# endif
|
||||
{
|
||||
pc_compile(argc, argv);
|
||||
@ -70,7 +70,7 @@
|
||||
__declspec (dllexport)
|
||||
int pc_printf(const char *message,...)
|
||||
#else
|
||||
extern int pc_printf(const char *message,...)
|
||||
extern int __attribute__((visibility("default"))) pc_printf(const char *message,...)
|
||||
#endif
|
||||
#else
|
||||
int pc_printf(const char *message, ...)
|
||||
|
@ -446,7 +446,7 @@ int pc_enablewarning(int number,int enable);
|
||||
__declspec (dllexport)
|
||||
int pc_printf(const char *message,...);
|
||||
#else
|
||||
extern int pc_printf(const char *message,...);
|
||||
extern int __attribute__((visibility("default"))) pc_printf(const char *message,...);
|
||||
#endif
|
||||
#else
|
||||
int pc_printf(const char *message, ...) INVISIBLE;
|
||||
|
Loading…
Reference in New Issue
Block a user