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

libretro-build.sh: uname: illegal option -- o #564

Open
snigel opened this issue Oct 10, 2017 · 1 comment
Open

libretro-build.sh: uname: illegal option -- o #564

snigel opened this issue Oct 10, 2017 · 1 comment

Comments

@snigel
Copy link

snigel commented Oct 10, 2017

This seems to be before make runs, so I believe it's in the libretro-build script.

snigel@iBookG4 ~/.j/j/l/workspace> ./libretro-build.sh 3dengine
PLATFORM: osx
ARCHITECTURE: Power Macintosh
TARGET: osx
uname: illegal option -- o
usage: uname [-amnprsv]
@orbea
Copy link
Contributor

orbea commented Nov 10, 2017

uname -o is not portable and another option should be used, but I have no way of testing msys or osx so I'm not sure I can fix this... If someone can test those this line should be changed.

https://github.com/libretro/libretro-super/blob/master/libretro-build.sh#L32

Also see.
http://pubs.opengroup.org/onlinepubs/9699919799/utilities/uname.html

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