mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 06:15:37 +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 ###
|
### 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
|
DEBUG_FLAGS = -g -ggdb3
|
||||||
CPP = gcc
|
CPP = gcc-4.1
|
||||||
BINARY = amxxpc
|
BINARY = amxxpc
|
||||||
|
|
||||||
OBJECTS = amx.cpp amxxpc.cpp Binary.cpp
|
OBJECTS = amx.cpp amxxpc.cpp Binary.cpp
|
||||||
|
Binary file not shown.
@ -3,9 +3,9 @@
|
|||||||
|
|
||||||
### EDIT BELOW FOR OTHER PROJECTS ###
|
### 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
|
DEBUG_FLAGS = -g -ggdb3
|
||||||
CPP = gcc
|
CPP = gcc-4.1
|
||||||
NAME = amxxpc
|
NAME = amxxpc
|
||||||
|
|
||||||
OBJECTS = sc1.c sc2.c sc3.c sc4.c sc5.c sc6.c sc7.c scvars.c scmemfil.c \
|
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)
|
__declspec (dllexport)
|
||||||
void EXCOMPILER(int argc, char **argv)
|
void EXCOMPILER(int argc, char **argv)
|
||||||
# else
|
# else
|
||||||
void extern EXCOMPILER(int argc, char **argv)
|
void extern __attribute__((visibility("default"))) EXCOMPILER(int argc, char **argv)
|
||||||
# endif
|
# endif
|
||||||
{
|
{
|
||||||
pc_compile(argc, argv);
|
pc_compile(argc, argv);
|
||||||
@ -70,7 +70,7 @@
|
|||||||
__declspec (dllexport)
|
__declspec (dllexport)
|
||||||
int pc_printf(const char *message,...)
|
int pc_printf(const char *message,...)
|
||||||
#else
|
#else
|
||||||
extern int pc_printf(const char *message,...)
|
extern int __attribute__((visibility("default"))) pc_printf(const char *message,...)
|
||||||
#endif
|
#endif
|
||||||
#else
|
#else
|
||||||
int pc_printf(const char *message, ...)
|
int pc_printf(const char *message, ...)
|
||||||
|
@ -446,7 +446,7 @@ int pc_enablewarning(int number,int enable);
|
|||||||
__declspec (dllexport)
|
__declspec (dllexport)
|
||||||
int pc_printf(const char *message,...);
|
int pc_printf(const char *message,...);
|
||||||
#else
|
#else
|
||||||
extern int pc_printf(const char *message,...);
|
extern int __attribute__((visibility("default"))) pc_printf(const char *message,...);
|
||||||
#endif
|
#endif
|
||||||
#else
|
#else
|
||||||
int pc_printf(const char *message, ...) INVISIBLE;
|
int pc_printf(const char *message, ...) INVISIBLE;
|
||||||
|
Loading…
Reference in New Issue
Block a user