test/make/toolchain.sh

changeset 38
02b000e40e5e
parent 36
9e386a530bdf
child 51
5c12e9e29733
equal deleted inserted replaced
37:ef09f80e911e 38:02b000e40e5e
192 echo >> "$TEMP_DIR/config.mk" 192 echo >> "$TEMP_DIR/config.mk"
193 193
194 if [ -f "make/${TOOLCHAIN_NAME}.mk" ]; then 194 if [ -f "make/${TOOLCHAIN_NAME}.mk" ]; then
195 cat "make/${TOOLCHAIN_NAME}.mk" >> "$TEMP_DIR/config.mk" 195 cat "make/${TOOLCHAIN_NAME}.mk" >> "$TEMP_DIR/config.mk"
196 else 196 else
197 echo "SHLIB_CFLAGS = -fPIC" >> "$TEMP_DIR/config.mk" 197 cat >> "$TEMP_DIR/config.mk" << __EOF__
198 echo "SHLIB_LDFLAGS = -shared" >> "$TEMP_DIR/config.mk" 198 CFLAGS =
199 LDFLAGS =
200
201 SHLIB_CFLAGS = -fPIC
202 SHLIB_LDFLAGS = -shared
203 __EOF__
199 fi 204 fi
200 fi 205 fi

mercurial