Changeset 912


Ignore:
Timestamp:
May 27, 2016, 1:59:30 PM (9 years ago)
Author:
Silvan Scherrer
Message:

samba server: update build cmd to reflect the need of libcx, remove an unneeded memset

Location:
trunk/server/source3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/server/source3/build.cmd

    r903 r912  
    8686 *   - redirect lxlite output to build.lxl
    8787 *
     88 * version 1.1.3 from 11.05.2016 Silvan
     89 *   - added the need for libcx
     90 *
     91 * version 1.1.4 from 13.05.2016 Silvan
     92 *   - changed arch to i686
     93 *
    8894*/
    8995
     
    96102
    97103/* init the version string (don't forget to change) */
    98 version      = "1.1.2"
    99 version_date = "15.04.2016"
     104version      = "1.1.4"
     105version_date = "13.05.2016"
    100106
    101107'@echo off'
     
    351357SetCLFlags: procedure expose scriptfile
    352358
    353     call lineout scriptfile, "CFLAGS='-O2 -g -march=pentium'";
     359    call lineout scriptfile, "CFLAGS='-O2 -g -march=i686'";
    354360    call lineout scriptfile, "export CFLAGS";
    355     call lineout scriptfile, "CXXFLAGS='-O2 -g -march=pentium'";
     361    call lineout scriptfile, "CXXFLAGS='-O2 -g -march=i686'";
    356362    call lineout scriptfile, "export CXXFLAGS";
    357363    call lineout scriptfile, "LDFLAGS=' -Zhigh-mem -Zomf -Zargs-wild -Zargs-resp'";
    358364    call lineout scriptfile, "export LDFLAGS";
    359     call lineout scriptfile, "LIBS='-lmmap -lintl'";
     365    call lineout scriptfile, "LIBS='-lmmap -lintl -llibcx0'";
    360366    call lineout scriptfile, "export LIBS";
    361367    return
  • trunk/server/source3/lib/system.c

    r902 r912  
    842842           return fopen(path, type);
    843843
    844         memset(typeNew, '\0', sizeof(typeNew));
    845844        strncpy(typeNew, type, strlen(type));
    846845        strncat (typeNew, (const char*)'b', 1);
Note: See TracChangeset for help on using the changeset viewer.