Changeset 68 for trunk/Makefile


Ignore:
Timestamp:
Apr 29, 2003, 10:19:49 PM (22 years ago)
Author:
bird
Message:

Adjusting configure. sanity.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Makefile

    • Property cvs2svn:cvs-rev changed from 1.4 to 1.5
    r67 r68  
    114114       
    115115all-sanity:
    116         if [ "$(UNIXROOT)x" = "x" ]; then \
    117                 echo "Error: UNIXROOT isn't defined!"; \
     116        @echo -n "Checking build environment sanity... "
     117        @if [ "x$(UNIXROOT)" = "x" ]; then \
     118                echo ""; echo "Error: UNIXROOT isn't defined!"; \
    118119                exit 8; \
    119120        fi
     121        @if [ "x$(BUILD_PROJECT)" != "xGCCOS2" ]; then \
     122                echo ""; echo "Error: BUILD_PROJECT is wrong or isn't defined!"; \
     123                exit 8; \
     124        fi
     125        @if [ "x$(BUILD_PLATFORM)" != "xOS2" ]; then \
     126                echo ""; echo "Error: BUILD_PLATFORM is wrong or isn't defined!"; \
     127                exit 8; \
     128        fi
     129        @echo "ok"
     130       
    120131
    121132PRELOADED_TOOLS = bin/sh.exe bin/echo.exe bin/true.exe usr/bin/test.exe usr/bin/expr.exe \
     
    219230                export LDFLAGS=\"-s -Zexe -Zcrtdll\" ; \
    220231                $< \
     232                --enable-clh \
    221233                --enable-threads=os2 \
    222                 --enable-shared \
     234                --enable-shared=libgcc \
    223235                --enable-nls \
    224236                --without-included-gettext \
     
    253265
    254266$(PATH_OBJ)/gcc/gcc/Makefile: $(PATH_TOP)/src/gcc/gcc/configure
    255         $(BASH) -c "export LDFLAGS=\"-s -Zexe -Zcrtdll\" ; $< --enable-threads --enable-shared --enable-nls --without-included-gettext --prefix=$(PATH_BIN)/usr/bin/local/gcc322 "
     267        $(BASH) -c "export LDFLAGS=\"-s -Zexe -Zcrtdll\" ; $< --enable-clh --enable-threads --enable-shared --enable-nls --without-included-gettext --prefix=$(PATH_BIN)/usr/bin/local/gcc322 "
    256268#       $(BASH) -c "export LDFLAGS=\"-s -Zexe -Zcrtdll\" ; $< --enable-threads --enable-shared --enable-nls --without-included-gettext --prefix=$(PATH_BIN)/usr/bin/local/gcc322 --disable-multilib --disable-shared  "
    257269#       $(BASH) -c "export LDFLAGS=\"-s -Zexe -Zcrtdll\" ; $< --enable-clh --enable-threads --enable-shared --enable-nls --without-included-gettext --prefix=/dev/gcc/v3.2.2"
Note: See TracChangeset for help on using the changeset viewer.