You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lazarus/disable_pascalscript_powerp...

52 lines
1.4 KiB

diff --git lazarus/components/Makefile.fpc lazarus/components/Makefile.fpc
index f7578d9..e88fda9 100644
--- lazarus/components/Makefile.fpc
+++ lazarus/components/Makefile.fpc
@@ -70,8 +70,10 @@ bigide:
$(MAKE) -C externhelp
$(MAKE) -C tdbf
$(MAKE) -C sqldb
+ifneq ($(CPU_TARGET),powerpc64)
$(MAKE) -C PascalScript/Source
$(MAKE) -C macroscript
+endif
all: base bigide
@@ -108,8 +110,10 @@ clean:
$(MAKE) -C externhelp clean
$(MAKE) -C tdbf clean
$(MAKE) -C sqldb clean
+ifneq ($(CPU_TARGET),powerpc64)
$(MAKE) -C PascalScript/Source clean
$(MAKE) -C macroscript clean
+endif
cleanall: clean
@@ -146,6 +150,8 @@ distclean:
$(MAKE) -C externhelp distclean
$(MAKE) -C tdbf distclean
$(MAKE) -C sqldb distclean
+ifneq ($(CPU_TARGET),powerpc64)
$(MAKE) -C PascalScript/Source distclean
$(MAKE) -C macroscript distclean
+endif
diff --git lazarus/ide/lazarus.pp lazarus/ide/lazarus.pp
index b6ea8c7..54ddb1a 100644
--- lazarus/ide/lazarus.pp
+++ lazarus/ide/lazarus.pp
@@ -73,7 +73,10 @@ uses
TurboPowerIPro, TurboPowerIProDsgn,
jcfidelazarus, chmhelppkg,
FPCUnitTestRunner, FPCUnitIDE, ProjTemplates, TAChartLazarusPkg,
- TodoListLaz, DateTimeCtrls, SQLDBLaz, DBFLaz, pascalscript, EditorMacroScript,
+ TodoListLaz, DateTimeCtrls, SQLDBLaz, DBFLaz,
+ {$IFNDEF CPUPOWERPC64}
+ pascalscript, EditorMacroScript,
+ {$ENDIF}
{$ENDIF}
MainBase;