Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 96711 | Differences between
and this patch

Collapse All | Expand All

(-)file_not_specified_in_diff (-14 / +14 lines)
Line  Link Here
0
-- FreeBASIC-1.05.0-source/makefile
0
++ FreeBASIC-1.05.0-source/makefile
Lines 1050-1080 Link Here
1050
bootstrap-dist:
1050
bootstrap-dist:
1051
	# Precompile fbc sources for various targets
1051
	# Precompile fbc sources for various targets
1052
	rm -rf bootstrap
1052
	rm -rf bootstrap
1053
	mkdir -p bootstrap/dos
1053
	#mkdir -p bootstrap/dos
1054
	mkdir -p bootstrap/linux-x86
1054
	mkdir -p bootstrap/linux-x86
1055
	mkdir -p bootstrap/linux-x86_64
1055
	mkdir -p bootstrap/linux-x86_64
1056
	mkdir -p bootstrap/win32
1056
	#mkdir -p bootstrap/win32
1057
	mkdir -p bootstrap/win64
1057
	#mkdir -p bootstrap/win64
1058
	./$(FBC_EXE) src/compiler/*.bas -m fbc -i inc -e -r -v -target dos          && mv src/compiler/*.asm bootstrap/dos
1058
	#./$(FBC_EXE) src/compiler/*.bas -m fbc -i inc -e -r -v -target dos          && mv src/compiler/*.asm bootstrap/dos
1059
	./$(FBC_EXE) src/compiler/*.bas -m fbc -i inc -e -r -v -target linux-x86    && mv src/compiler/*.asm bootstrap/linux-x86
1059
	./$(FBC_EXE) src/compiler/*.bas -m fbc -i inc -e -r -v -target linux-x86    && mv src/compiler/*.asm bootstrap/linux-x86
1060
	./$(FBC_EXE) src/compiler/*.bas -m fbc -i inc -e -r -v -target linux-x86_64 && mv src/compiler/*.c   bootstrap/linux-x86_64
1060
	./$(FBC_EXE) src/compiler/*.bas -m fbc -i inc -e -r -v -target linux-x86_64 && mv src/compiler/*.c   bootstrap/linux-x86_64
1061
	./$(FBC_EXE) src/compiler/*.bas -m fbc -i inc -e -r -v -target win32        && mv src/compiler/*.asm bootstrap/win32
1061
	#./$(FBC_EXE) src/compiler/*.bas -m fbc -i inc -e -r -v -target win32        && mv src/compiler/*.asm bootstrap/win32
1062
	./$(FBC_EXE) src/compiler/*.bas -m fbc -i inc -e -r -v -target win64        && mv src/compiler/*.c   bootstrap/win64
1062
	#./$(FBC_EXE) src/compiler/*.bas -m fbc -i inc -e -r -v -target win64        && mv src/compiler/*.c   bootstrap/win64
1063
1063
1064
	# Ensure to have LFs regardless of host system (LFs will probably on
1064
	# Ensure to have LFs regardless of host system (LFs will probably on
1065
	# DOS/Win32, but CRLFs could cause issues on Linux)
1065
	# DOS/Win32, but CRLFs could cause issues on Linux)
1066
	dos2unix bootstrap/dos/*
1066
	#dos2unix bootstrap/dos/*
1067
	dos2unix bootstrap/linux-x86/*
1067
	dos2unix bootstrap/linux-x86/*
1068
	dos2unix bootstrap/linux-x86_64/*
1068
	dos2unix bootstrap/linux-x86_64/*
1069
	dos2unix bootstrap/win32/*
1069
	#dos2unix bootstrap/win32/*
1070
	dos2unix bootstrap/win64/*
1070
	#dos2unix bootstrap/win64/*
1071
1071
1072
	# Package FB sources (similar to our "gitdist" command), and add the bootstrap/ directory
1072
	# Package FB sources (similar to our "gitdist" command), and add the bootstrap/ directory
1073
	# Making a .tar.xz should be good enough for now.
1073
	# Making a .tar.xz should be good enough for now.
1074
	git -c core.autocrlf=false archive --format tar --prefix "$(FBBOOTSTRAPTITLE)/" HEAD | tar xf -
1074
	#git -c core.autocrlf=false archive --format tar --prefix "$(FBBOOTSTRAPTITLE)/" HEAD | tar xf -
1075
	mv bootstrap $(FBBOOTSTRAPTITLE)
1075
	#mv bootstrap $(FBBOOTSTRAPTITLE)
1076
	tar -cJf "$(FBBOOTSTRAPTITLE).tar.xz" "$(FBBOOTSTRAPTITLE)"
1076
	#tar -cJf "$(FBBOOTSTRAPTITLE).tar.xz" "$(FBBOOTSTRAPTITLE)"
1077
	rm -rf "$(FBBOOTSTRAPTITLE)"
1077
	#rm -rf "$(FBBOOTSTRAPTITLE)"
1078
1078
1079
#
1079
#
1080
# Build the fbc[.exe] binary from the precompiled sources in the bootstrap/
1080
# Build the fbc[.exe] binary from the precompiled sources in the bootstrap/

Return to bug 96711