Raymond Toy pushed to branch issue-125-unix-stat-wrong at cmucl / cmucl

Commits:

2 changed files:

Changes:

  • src/lisp/Config.x86_linux
    ... ... @@ -4,6 +4,7 @@ include Config.x86_common
    4 4
     CFLAGS += $(COPT)
    
    5 5
     CPPFLAGS += -m32 -D__NO_CTYPE
    
    6 6
     CFLAGS += -rdynamic  -march=pentium4 -mfpmath=sse -mtune=generic
    
    7
    +CFLAGS += -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
    
    7 8
     
    
    8 9
     UNDEFSYMPATTERN = -Xlinker -u -Xlinker &
    
    9 10
     ASSEM_SRC +=  linux-stubs.S
    

  • src/lisp/Config.x86_linux_clang
    ... ... @@ -9,6 +9,7 @@ CFLAGS += $(COPT)
    9 9
     # (-mtune=pentium4), the first chip to have sse2; and finally generate
    
    10 10
     # code assuming instructions can trap (-ftrapping-math).
    
    11 11
     CFLAGS += -msse2 -mtune=pentium4 -ftrapping-math
    
    12
    +CFLAGS += -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
    
    12 13
     
    
    13 14
     UNDEFSYMPATTERN = -Xlinker -u -Xlinker &
    
    14 15
     ASSEM_SRC +=  linux-stubs.S