mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-04-05 11:17:45 +02:00
createconfig: rtl.js from compiler sources and -Sc
This commit is contained in:
parent
31dbc59ee4
commit
1d6efcfb58
@ -56,8 +56,11 @@ begin
|
||||
Addln('# If you don''t want so much verbosity use');
|
||||
Addln('#-vw');
|
||||
Addln('');
|
||||
Addln('# Allow C-operators');
|
||||
Addln('-Sc');
|
||||
Addln('');
|
||||
Addln('#ifdef FPC_SUBTARGET_NAMESPACES');
|
||||
Addln('-Fu$CfgDir/'+BASEDIR+'/*/namespaced');
|
||||
Addln('-Fu$CfgDir/'+BASEDIR+'/packages/*/namespaced');
|
||||
Addln('-Fi$CfgDir/'+BASEDIR+'/packages/*/src');
|
||||
Addln('# For compatibility with FPC:');
|
||||
Addln('-dUnicodeRTL');
|
||||
@ -65,6 +68,9 @@ begin
|
||||
Addln('-Fu$CfgDir/'+BASEDIR+'/packages/*/src');
|
||||
Addln('#endif');
|
||||
Addln('');
|
||||
Addln('# use rtl.js from compiler sources if available');
|
||||
Addln('-Fu$CfgDir/'+BASEDIR+'/compiler/utils/pas2js/dist');
|
||||
Addln('');
|
||||
Addln('#IFDEF nodejs');
|
||||
Addln('-Jirtl.js');
|
||||
Addln('#ENDIF');
|
||||
|
Loading…
Reference in New Issue
Block a user