Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cross compiling problem #232

Open
leleliu008 opened this issue May 8, 2024 · 1 comment
Open

cross compiling problem #232

leleliu008 opened this issue May 8, 2024 · 1 comment

Comments

@leleliu008
Copy link

https://github.com/onetrueawk/awk/blob/master/makefile#L66

share CFLAGS when cross compiling may not corect.

change

$(HOSTCC) $(CFLAGS) maketab.c -o maketab

to

$(HOSTCC) $(HOSTCFLAGS) maketab.c -o maketab
@xosevp
Copy link

xosevp commented Jul 20, 2024

Does this patch work for you?
https://paste.debian.net/1323812/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants