Skip to content

Commit a27eb60

Browse files
mattgsGuvaCode
authored andcommitted
Update fpc-wrapper.bat
Forget to remove -Twin64 and -Px86_64 from default flags
1 parent 7618505 commit a27eb60

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fpc-wrapper.bat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ REM Remove trailing backslash
1515
SET "HERE=%HERE:~0,-1%"
1616

1717
REM Set base flags and include flags
18-
SET BASE_FLAGS=-MObjFPC -Scghi -Cg -l -vewnhibq -WG -Twin64 -Px86_64
18+
SET BASE_FLAGS=-MObjFPC -Scghi -Cg -l -vewnhibq
1919
SET INCLUDE_FLAGS=-Fl"%HERE%\libs\%PLATFORM%" -Fu"%HERE%\source" -Fu"%HERE%\headers"
2020

2121
REM Set platform default
@@ -24,7 +24,7 @@ SET PLATFORM=x86_32-windows
2424
REM Check the architecture
2525
if "%PROCESSOR_ARCHITECTURE%" == "AMD64" (
2626
SET PLATFORM=x86_64-windows
27-
SET BASE_FLAGS=%BASE_FLAGS% -Twin64 -Px86_64
27+
SET BASE_FLAGS=%BASE_FLAGS% -Twin64 -Px86_64
2828
)
2929

3030
REM Run the fpc command

0 commit comments

Comments
 (0)