mirror of
https://github.com/elua/elua.git
synced 2025-01-25 01:02:54 +08:00
Fix compilation in RPC mode
- Enable 32 bit mode - Remove spurious warning during compilation
This commit is contained in:
parent
3703f4189c
commit
bdf439a18f
@ -11,5 +11,7 @@ typedef uint32_t u32;
|
||||
typedef int8_t s8;
|
||||
typedef int16_t s16;
|
||||
typedef int32_t s32;
|
||||
typedef uint64_t u64;
|
||||
typedef int64_t s64;
|
||||
|
||||
#endif
|
||||
|
@ -1,7 +1,6 @@
|
||||
#include "cexcept.h"
|
||||
#include "type.h"
|
||||
#include "rpc_serial.h"
|
||||
#warning Not sure which of the two serial.h this should include
|
||||
|
||||
/****************************************************************************/
|
||||
// Parameters
|
||||
|
@ -26,8 +26,8 @@ else
|
||||
end
|
||||
|
||||
-- Compiler/linker options
|
||||
builder:set_compile_cmd( sf( "gcc -O2 -g %s -Wall %s -c $(FIRST) -o $(TARGET)", local_include, cdefs ) )
|
||||
builder:set_link_cmd( "gcc -o $(TARGET) $(DEPENDS) -lm" )
|
||||
builder:set_compile_cmd( sf( "gcc -m32 -O2 -g %s -Wall %s -c $(FIRST) -o $(TARGET)", local_include, cdefs ) )
|
||||
builder:set_link_cmd( "gcc -m32 -o $(TARGET) $(DEPENDS) -lm" )
|
||||
|
||||
-- Build everything
|
||||
builder:make_exe_target( output, lua_full_files )
|
||||
|
Loading…
x
Reference in New Issue
Block a user